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 LongDLL
int DLLatLonToPagePoint(int InstanceID, double Latitude, double Longitude, double Out PageX, double PageY);參數
| Latitude | 地理緯度(度) |
|---|---|
| Longitude | 地理經度(度) |
| PageX | 接收算出的水平頁面座標 |
| PageY | 接收算出的垂直頁面座標 |
傳回值
找到地理視埠且座標完成轉換時為 1,失敗時為 0