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