LatLonToPagePoint

Propriedades da página, Medição e unidades de coordenadas

Descrição

Converte (Latitude, Longitude) geográficas em graus em coordenadas de página (PageX, PageY) usando a transformação afim inversa do viewport geoespacial da página selecionada

Sintaxe

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);

Parâmetros

LatitudeLatitude geográfica em graus
LongitudeLongitude geográfica em graus
PageXRecebe a coordenada horizontal de página calculada
PageYRecebe a coordenada vertical de página calculada

Valores retornados

1 quando um viewport geoespacial foi encontrado e a coordenada transformada, ou 0 em caso de falha

Veja também

AddPageGeoViewport, PagePointToLatLon