ViewerPreferences
概述
ViewerPreferences 是一个类在Aspose.PDF FOSS的.NET中.
代表文档的浏览器偏好 (PDF32000 §12.2).
这个类提供了在NET程序中使用ViewerPreferences 对象的1种方法. 有的方法包括: ViewerPreferences. 所有公众成员在安装了Aspose.PDF FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: CenterWindow, Direction, DisplayDocTitle, Duplex, FitWindow, HideMenubar,另外5个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
HideMenubar | bool | 阅读/写作 | 隐藏菜单. |
HideToolbar | bool | 阅读/写作 | 隐藏工具. |
HideWindowUI | bool | 阅读/写作 | 隐藏窗口UI元素. |
FitWindow | bool | 阅读/写作 | 将文件窗口的尺寸调整为第一个显示页面. |
CenterWindow | bool | 阅读/写作 | 在屏幕的中心放置窗口. |
DisplayDocTitle | bool | 阅读/写作 | 在标题中显示文档名称. |
Direction | string | 阅读/写作 | 读取方向:L2R (从左到右) 或R2L (来自右至左). |
PrintScaling | string? | 阅读/写作 | 页面缩小为打印: “没有"或"AppDefault”. |
Duplex | string? | 阅读/写作 | 双重打印模式:简单",DuplexFlipShortEdge"",DuplexFlipLongEdge". |
PageLayout | PageLayoutMode? | 阅读/写作 | 页面布局模式. |
PageMode | PageModeValue? | 阅读/写作 | 页面模式指定打开时文档的显示方式. |
方法
| Signature | 描述情况 |
|---|---|
ViewerPreferences() | 创建默认的浏览器偏好. |