SetOutlineDestination

アウトライン

説明

アウトライン項目 (ブックマーク) が指す宛先を設定します

構文

Delphi

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

ActiveX

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

DLL

int DLSetOutlineDestination(int InstanceID, int OutlineID, int DestPage, double DestPosition);

パラメータ

OutlineIDNewOutline 関数から返されたアウトライン ID です。または GetOutlineID 関数を使用して有効なアウトライン ID を取得します
DestPageこのアウトライン項目がリンクするページ番号
DestPositionこのアウトライン項目のリンク先となるページ上の垂直位置。ページ下端へ移動すると次のページが表示されます。可能であればページ上端へリンクしてください

戻り値

0指定された Outline ID は無効です
1アウトライン項目の宛先が正常に設定されました