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