Debenu Quick PDF logo


Direct access functionality, Page properties

Version history

This function was introduced in Quick PDF Library version 7.23.


Returns a dimension of the specified page boundary rectangle.

By default, returned values are in points measured from the bottom left corner of the page. This can be changed by calling SetGlobalOrigin or SetMeasurementUnits.



function TDebenuPDFLibrary1811.DAGetPageBox(FileHandle, PageRef, BoxIndex, 
  Dimension: Integer): Double;


Function DebenuPDFLibrary1811.PDFLibrary::DAGetPageBox(FileHandle As Long,
  PageRef As Long, BoxIndex As Long, Dimension As Long) As Double


double DPLDAGetPageBox(int InstanceID, int FileHandle, int PageRef, int BoxIndex,
  int Dimension)


FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageRef A page reference returned by the DAFindPage or DANewPage functions
BoxIndex 1 = MediaBox
2 = CropBox
3 = BleedBox
4 = TrimBox
5 = ArtBox
Dimension 0 = Left
1 = Top
2 = Width
3 = Height
4 = Right
5 = Bottom

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport