PagePointToLatLon

頁面屬性、測量和座標單位

描述

使用所選頁面地理視埠上的最小平方仿射控制點求解器,把頁面座標對 (PageX, PageY) 轉換為以度為單位的地理 (Latitude, Longitude)

語法

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 Long

DLL

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

參數

PageX水平頁面座標
PageY垂直頁面座標
Latitude接收算出的緯度(度)
Longitude接收算出的經度(度)

傳回值

找到地理視埠且座標完成轉換時為 1,失敗時為 0

另請參閱

AddPageGeoViewport, LatLonToPagePoint