DAGetPageBox

Functionaliteit voor directe toegang, pagina-eigenschappen

Beschrijving

Geeft een afmeting van de opgegeven pagina-grensrechthoek terug

De geretourneerde waarden zijn punten, gemeten vanaf de linkerbenedenhoek van de pagina

Syntaxis

Delphi

Function TPDFlib.DAGetPageBox(FileHandle, PageRef, BoxIndex, Dimension: Integer): Double;

ActiveX

Function PDFlib::DAGetPageBox(FileHandle As Long, PageRef As Long, BoxIndex As Long, Dimension As Long) As Double

DLL

double DLDAGetPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex, int Dimension);

Parameters

FileHandleEen handle geretourneerd door de functies DAOpenFile, DAOpenFileReadOnly of DAOpenFromStream
PageRefEen paginareferentie die door de functies DAFindPage of DANewPage wordt geretourneerd
BoxIndex1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox
Dimension0 = Left 1 = Top 2 = Width 3 = Height 4 = Right 5 = Bottom int BoxIndex, int Dimension);