PdfContentEditor.GetViewerPreference

Método PdfContentEditor.GetViewerPreference

Devuelve la preferencia de vista.

public int GetViewerPreference()

Valor de Retorno

Devuelve un conjunto de banderas de ViewerPreference

Ejemplos

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

Ver También