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)
{ // ... }

См. также