GetBlockCount

Bloques, interacción

Descripción

Devuelve cuántos bloques de plantilla lleva una página entre las anotaciones de página PDFlibBlock:* y los diccionarios o arrays estándar /PieceInfo /PDFlib /Blocks de PDFlib PPS

Sintaxis

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 de página que hay que inspeccionar

Valores devueltos

Número de bloques en la página; 0 cuando la página no tiene ninguno o no existe

Véase también

GetBlockName, GetBlockType, GetBlockRect, GetBlockProperty, AddBlock