LatLonToPagePoint

页面属性、测量和坐标单位

描述

用所选页面地理空间视口的逆仿射变换,把以度表示的地理 (Latitude, Longitude) 转换为页面坐标 (PageX, PageY)

语法

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 Long

DLL

int DLLatLonToPagePoint(int InstanceID, double Latitude, double Longitude, double Out PageX, double PageY);

参数

Latitude地理纬度(度)
Longitude地理经度(度)
PageX接收计算出的水平页面坐标
PageY接收计算出的垂直页面坐标

返回值

找到地理空间视口并完成坐标变换返回 1,失败返回 0

另请参阅

AddPageGeoViewport, PagePointToLatLon