ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.PageToScr
Declaration
function PageToScr(PageX, PageY: Double): TPoint; overload;
function PageToScr(PageRect: TDRect): TRect; overload;
Description
Convert a position on the current page (in PDF points) to a screen value (in pixels).
Note: The specified page value is
not checked to ensure it is a valid point within the page
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).
// Convert a page point to a screen point
scrPt := ImageEnView1.PdfViewer.PageToScr( 100, 100 );
See Also
◼ScrToPage