ImageEn, unit iexPdfiumCore

TPdfFormField.Bounds

TPdfFormField.Bounds


Declaration

property Bounds: TDRect;


Description

Returns the area of the page the form field occupies.
Values returns will be in terms of PDF points (and bottom-up).


PDF Page Points

Objects on a PDF page are specified in points that originate at the bottom-left, i.e. when X,Y = (0,0). The top-left of the page is specified by (PageWidth, PageHeight).
To convert PDF points to screen values, use PageToScr.



Example

// Display Bounds
r := ImageEnView1.PdfViewer.FormFields[0].Bounds;
lblBounds.Caption := Format( 'Bounds: %d,%d,%d,%d', [ r.Left, r.Top, r.Right, r.Bottom ]);