ImageEn, unit iexPdfiumCore |
|
TPdfObject.Bounds
Declaration
property Bounds: TRect;
Description
Returns the area of the page the object 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.
// Display Bounds
r := ImageEnView1.PdfViewer.Objects[0].Bounds;
lblBounds.Caption := Format( 'Bounds: %d,%d,%d,%d', [ r.Left, r.Top, r.Right, r.Bottom ]);
See Also
◼X
◼Y
◼Width
◼Height
◼Matrix
◼Translate