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

Смотрите также