GetBlockCount
块、交互
描述
返回页面携带的模板块数量,统计范围包括 PDFlibBlock:* 页面注释和标准 PDFlib PPS /PieceInfo /PDFlib /Blocks 字典或数组
语法
Delphi
Function GetBlockCount(Page: Integer): Integer;ActiveX
Function PDFlib::GetBlockCount(Page As Long) As LongDLL
int DLGetBlockCount(int InstanceID, int Page);参数
| Page | 要检查的页码 |
|---|
返回值
| 页面上的块数量;页面没有块或不存在时返回 0 |
另请参阅
GetBlockName, GetBlockType, GetBlockRect, GetBlockProperty, AddBlock