GetBlockCount

Blocs, interaction

Description

Renvoie combien de blocs de gabarits porte une page, à travers les annotations de page PDFlibBlock:* et les dictionnaires ou tableaux /PieceInfo /PDFlib /Blocks PPS PDFlib standard

Syntaxe

Delphi

Function GetBlockCount(Page: Integer): Integer;

ActiveX

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

DLL

int DLGetBlockCount(int InstanceID, int Page);

Paramètres

PageNuméro de page to inspect

Valeurs de retour

Nombre de blocs sur la page ; 0 si la page n’en a pas ou n’existe pas

Voir aussi

GetBlockName, GetBlockType, GetBlockRect, GetBlockProperty, AddBlock