GetBlockCount

Blocks, Interação

Descrição

Retorna quantos blocks de template uma página carrega pelas anotações de página PDFlibBlock:* e pelos dicionários ou arrays /PieceInfo /PDFlib /Blocks padrão do PDFlib PPS

Sintaxe

Delphi

Function GetBlockCount(Page: Integer): Integer;

ActiveX

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

DLL

int DLGetBlockCount(int InstanceID, int Page);

Parâmetros

PageNúmero da página a inspecionar

Valores retornados

Número de blocks na página; 0 quando a página não tem nenhum ou não existe

Veja também

GetBlockName, GetBlockType, GetBlockRect, GetBlockProperty, AddBlock