PdfContentEditor.GetViewerPreference
PdfContentEditor.GetViewerPreference 方法
返回视图偏好。
public int GetViewerPreference()
返回值
返回一组 ViewerPrefernece 标志
示例
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
int prefValue = editor.GetViewerPreference();
if ((prefValue & ViewerPreference.PageModeUseOutline) != 0)
{ // ... }
另请参阅
- 类 PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 程序集 Aspose.PDF