GetViewerPreference
PdfContentEditor.GetViewerPreference method
返回视图首选项。
public int GetViewerPreference()
返回值
返回一组 ViewerPrefernece 标志
例子
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
int prefValue = editor.GetViewerPreference();
if ((prefValue & ViewerPreference.PageModeUseOutline) != 0)
{ // ... }
也可以看看
- class PdfContentEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF