GetBlockCount

Blocks, Interaction

Description

Returns how many template blocks a page carries across PDFlibBlock:* page annotations and standard PDFlib PPS /PieceInfo /PDFlib /Blocks dictionaries or arrays

Syntax

Delphi

Function GetBlockCount(Page: Integer): Integer;

ActiveX

Function PDFlib::GetBlockCount(Page As Long) As Long

DLL

int DLGetBlockCount(int InstanceID, int Page);

Parameters

PagePage number to inspect

Return values

Number of blocks on the page; 0 when the page has none or does not exist

See also

GetBlockName, GetBlockType, GetBlockRect, GetBlockProperty, AddBlock