LatLonToPagePoint

Propiedades de página, Medición y unidades de coordenadas

Descripción

Convierte (Latitude, Longitude) geográficas en grados a coordenadas de página (PageX, PageY) usando la transformación afín inversa del viewport geoespacial de la página seleccionada

Sintaxis

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

LatitudeLatitud geográfica en grados
LongitudeLongitud geográfica en grados
PageXRecibe la coordenada horizontal de página calculada
PageYRecibe la coordenada vertical de página calculada

Valores devueltos

1 cuando se encontró un viewport geoespacial y la coordenada se transformó, o 0 en caso de fallo

Véase también

AddPageGeoViewport, PagePointToLatLon