SetOutlineDestinationZoom

개요

설명

개요 항목(책갈피)의 대상을 페이지의 특정 위치로 설정하고 문서의 확대/축소 비율을 설정합니다

구문

Delphi

Function TPDFlib.SetOutlineDestinationZoom(OutlineID, DestPage: Integer; DestPosition: Double; Zoom: Integer): Integer;

ActiveX

Function PDFlib::SetOutlineDestinationZoom(OutlineID As Long, DestPage As Long, DestPosition As Double, Zoom As Long) As Long

DLL

int DLSetOutlineDestinationZoom(int InstanceID, int OutlineID, int DestPage, double DestPosition, int Zoom);

매개변수

OutlineIDNewOutline 함수가 반환한 개요 ID입니다. 또는 GetOutlineID 함수를 사용하여 유효한 개요 ID를 가져옵니다
DestPage이 개요가 연결할 페이지 번호
DestPosition개요가 연결할 페이지의 세로 위치입니다. 페이지 아래쪽의 지점을 지정하면 다음 페이지가 표시되므로 페이지 위쪽의 지점에 연결하는 것이 좋습니다
Zoom대상 페이지를 표시할 확대/축소 배율: 0..1600 = 확대/축소 비율 -1 = 창에 맞춤 -2 = 너비에 맞춤

반환 값

0OutlineID가 유효하지 않습니다 대상을 성공적으로 설정했습니다
1