GetViewerPreference

PdfContentEditor.GetViewerPreference method

Devuelve la preferencia de vista.

public int GetViewerPreference()

Valor_devuelto

Devuelve un conjunto de banderas ViewerPrefernece

Ejemplos

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
int prefValue = editor.GetViewerPreference();
if ((prefValue & ViewerPreference.PageModeUseOutline) != 0)
{ // ... }

Ver también