LatLonToPagePoint
Page properties, Measurement and coordinate units
Description
Converts geographic (Latitude, Longitude) in degrees to page coordinates (PageX, PageY) using the inverse affine transform of the selected page geospatial viewport
Syntax
Delphi
Function LatLonToPagePoint(Latitude, Longitude: Double; Out PageX, PageY: Double): Integer;ActiveX
Function PDFlib::LatLonToPagePoint(Latitude As Double, Longitude As Double, ByRef PageX As Double, ByRef PageY As Double) As LongDLL
int DLLatLonToPagePoint(int InstanceID, double Latitude, double Longitude, double Out PageX, double PageY);Parameters
| Latitude | Geographic latitude in degrees |
|---|---|
| Longitude | Geographic longitude in degrees |
| PageX | Receives the computed horizontal page coordinate |
| PageY | Receives the computed vertical page coordinate |
Return values
1 when a geospatial viewport was found and the coordinate was transformed, or 0 on failure