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