获取PDF页数
<h1>功能</h1>
<p>获取PDF文件的总页数。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th style="text-align: center;">名称</th>
<th style="text-align: center;">说明</th>
<th style="text-align: center;">示例</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">页数</td>
<td style="text-align: center;">【整型】PDF页数。页码索引从0开始。</td>
<td style="text-align: center;">PageNum【创建变量】</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1、该函数在获取PDF文件的页数时,需要创建一个整型变量(PageNum),用来存储它所获取到的页数,并用日志消息显示出来。</p>
<h1>相关函数</h1>
<p>无</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/4ef1548d7af379ef07728d1b4c884656" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/ba2034e859e83c145d1d3f21145338b6" title="[组件[获取PDF页数函数示例]_20210326.db">组件[获取PDF页数函数示例]_20210326.db</a></p>