PDFium Component Docs

GetPageBox-metodi

Component: TPdf  ·  Unit: PDFium
Lukee nimetyn sivulaatikon suorakulmion nykyisellä sivulla.

Syntax

function GetPageBox;

Description

Reads the rectangle of the named page box on the current page.

Returns an empty rectangle when the box is not defined and not inherited from a parent.

Käärii vastaavan PDFium-API:n ja altistaa sen TPdf-instanssin jäsenenä, joten kuluttajien ei tarvitse hallita FPDF_DOCUMENT-kahvoja suoraan

Remarks

Example

if Pdf1.Active then
  Pdf1.GetPageBox;

See Also

SetPageBox, PageBox, PageBounds