GetViewerPreferences

文件屬性

描述

傳回文件的檢視器偏好設定

語法

Delphi

Function TPDFlib.GetViewerPreferences(Option: Integer): Integer;

ActiveX

Function PDFlib::GetViewerPreferences(Option As Long) As Long

DLL

int DLGetViewerPreferences(int InstanceID, int Option);

參數

Option1 = 隱藏工具列 2 = 隱藏選單列 3 = 隱藏視窗使用者介面 4 = 視窗調整為首頁尺寸 5 = 視窗置中 6 = 顯示文件標題 7 = 全螢幕後的頁面模式 8 = 主要文字閱讀順序 9 = 檢視顯示邊界 10 = 檢視裁剪邊界 11 = 列印顯示邊界 12 = 列印裁剪邊界 13 = 預設列印對話框:縮放 14 = 預設列印對話框:雙面 15 = 預設列印對話框:自動紙匣 16 = 預設列印對話框:份數

傳回值

各個 Option 值可能的傳回值,請參閱 SetViewerPreferences 函式。