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