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 LongDLL
int DLLatLonToPagePoint(int InstanceID, double Latitude, double Longitude, double Out PageX, double PageY);Parâmetros
| Latitude | Latitude geográfica em graus |
|---|---|
| Longitude | Longitude geográfica em graus |
| PageX | Recebe a coordenada horizontal de página calculada |
| PageY | Recebe 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