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);
パラメータ
| OutlineID | NewOutline 関数から返されたアウトライン ID です。または GetOutlineID 関数を使用して有効なアウトライン ID を取得します |
|---|---|
| DestPage | このアウトラインのリンク先ページ番号 |
| DestPosition | アウトラインのリンク先となるページ上の垂直位置。ページ下部の点を指定すると次のページが表示されるため、ページ上部の点にリンクすることを推奨します |
| Zoom | 対象ページを表示するズーム率: 0..1600 = ズーム率 -1 = ウィンドウに合わせる -2 = 幅に合わせる |
戻り値
| 0 | OutlineID が無効だった 宛先の設定に成功した |
|---|---|
| 1 |