NewOutline

개요

설명

문서에 새 개요 항목을 추가합니다. 개요 항목은 계층 구조로 추가할 수 있습니다. Acrobat Reader에서는 개요를 책갈피라고 합니다

구문

Delphi

Function TPDFlib.NewOutline(Parent: Integer; Const Title: WideString; DestPage: Integer; DestPosition: Double): Integer;

ActiveX

Function PDFlib::NewOutline(Parent As Long, Title As String, DestPage As Long, DestPosition As Double) As Long

DLL

int DLNewOutline(int InstanceID, int Parent, const wchar_t * Title, int DestPage, double DestPosition);

매개변수

Parent루트 항목이면 0, 자식 항목이면 부모 항목의 ID(NewOutline 함수가 반환)를 사용합니다. 또는 GetOutlineID 함수로 유효한 개요 ID를 가져오십시오
Title개요 항목의 제목
DestPage이 개요 항목이 연결되는 대상 페이지 번호
DestPosition연결할 대상 페이지의 세로 위치

반환 값

0항목을 추가할 수 없습니다
Non-zero성공적으로 추가된 항목의 ID