SetOpenActionDestination

文書プロパティ

説明

選択した文書の開始ページとズーム倍率を設定できます

構文

Delphi

Function TPDFlib.SetOpenActionDestination(OpenPage, Zoom: Integer): Integer;

ActiveX

Function PDFlib::SetOpenActionDestination(OpenPage As Long, Zoom As Long) As Long

DLL

int DLSetOpenActionDestination(int InstanceID, int OpenPage, int Zoom);

パラメータ

OpenPage文書を開いたときに移動するページ番号
Zoomドキュメントを開くときに使用するズーム率: 0..1600 = ズーム率 -1 = ウィンドウに合わせる -2 = 幅に合わせる

戻り値

0オープンアクションを設定できなかった
1オープンアクションを正常に設定しました