THotPDF.GetLoadedPageContentStreamCount Method
方法摘要: THotPDF.GetLoadedPageContentStreamCount Method
声明
function GetLoadedPageContentStreamCount(PageIndex: Integer): Integer;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
PageIndex | 从零开始的已加载页面索引 |
返回值
没有内容时返回零,单个流时返回 1,Contents 为数组时返回其中的流数量
使用说明
- 单个流返回 1,Contents 数组返回其条目数
- 缺少 Contents 条目或页面索引无效时返回零