PdfContentEditor.GetViewerPreference

Méthode PdfContentEditor.GetViewerPreference

Renvoie la préférence de vue.

public int GetViewerPreference()

Valeur de retour

Renvoie un ensemble de drapeaux ViewerPrefernece

Exemples

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

Voir aussi