AddPageGeoViewport

페이지 속성, 측정 및 좌표 단위

설명

ISO 32000-2 §12.9에 따라 선택된 페이지에 /Subtype /GEO measure 딕셔너리, /GCS 좌표계, 4모서리 제어점(/LPTS와 /GPTS)을 갖춘 지리 공간 측정 뷰포트(/VP)를 추가합니다

구문

Delphi

Function AddPageGeoViewport(Left, Bottom, Right, Top: Double; EPSG: Integer; LatMin, LonMin, LatMax, LonMax: Double; Const Name: WideString): Integer;

ActiveX

Function PDFlib::AddPageGeoViewport(Left As Double, Bottom As Double, Right As Double, Top As Double, EPSG As Long, LatMin As Double, LonMin As Double, LatMax As Double, LonMax As Double, Name As String) As Long

DLL

int DLAddPageGeoViewport(int InstanceID, double Left, double Bottom, double Right, double Top, int EPSG, double LatMin, double LonMin, double LatMax, double LonMax, const wchar_t* Name);
int DLAddPageGeoViewportA(int InstanceID, double Left, double Bottom, double Right, double Top, int EPSG, double LatMin, double LonMin, double LatMax, double LonMax, const char* Name);

매개변수

Left뷰포트 경계 상자의 왼쪽 페이지 좌표
Bottom뷰포트 경계 상자의 아래쪽 페이지 좌표
Right뷰포트 경계 상자의 오른쪽 페이지 좌표
Top뷰포트 경계 상자의 위쪽 페이지 좌표
EPSG좌표계 EPSG 코드(예: WGS 84는 4326, Web Mercator는 3857). 코드 4000~4999는 지리 좌표계(/GEOGCS)로 기록되고 그 외의 코드는 투영 좌표계(/PROJCS)로 기록되며 /EPSG만으로 식별됩니다
LatMin지리적 경계 상자의 최소 위도(도 단위)
LonMin지리적 경계 상자의 최소 경도(도 단위)
LatMax지리적 경계 상자의 최대 위도(도 단위)
LonMax지리적 경계 상자의 최대 경도(도 단위)
Name/Name에 기록되는 선택적 뷰포트 이름

반환 값

선택된 페이지에 지리 공간 뷰포트가 추가되면 1, 실패하면 0

참고 항목

PagePointToLatLon, LatLonToPagePoint, AddPageMeasureViewport