PagePointToLatLon
Page properties, Measurement and coordinate units
Description
Converts a page coordinate pair (PageX, PageY) to geographic (Latitude, Longitude) in degrees using the least-squares affine control-point solver on the selected page geospatial viewport
Syntax
Delphi
Function PagePointToLatLon(PageX, PageY: Double; Out Latitude, Longitude: Double): Integer;ActiveX
Function PDFlib::PagePointToLatLon(PageX As Double, PageY As Double, ByRef Latitude As Double, ByRef Longitude As Double) As LongDLL
int DLPagePointToLatLon(int InstanceID, double PageX, double PageY, double Out Latitude, double Longitude);Parameters
| PageX | Horizontal page coordinate |
|---|---|
| PageY | Vertical page coordinate |
| Latitude | Receives the computed latitude in degrees |
| Longitude | Receives the computed longitude in degrees |
Return values
1 when a geospatial viewport was found and the coordinate was transformed, or 0 on failure