DAHasPageBox

Funkce přímého přístupu, vlastnosti stránek

Popis

Zjišťuje, zda má stránka konkrétní obdélník hranice stránky

Syntaxe

Delphi

Function TPDFlib.DAHasPageBox(FileHandle, PageRef, BoxIndex: Integer): Integer;

ActiveX

Function PDFlib::DAHasPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long) As Long

DLL

int DLDAHasPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex);

Parametry

FileHandleHandle vrácený funkcemi DAOpenFile, DAOpenFileReadOnly nebo DAOpenFromStream
PageRefOdkaz na stránku vrácený funkcí DAFindPage nebo DANewPage
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

Návratové hodnoty

<
0Stránka nemá zadaný hraniční obdélník stránky Stránka má zadaný hraniční obdélník stránky
1