 |
PdfDocumentViewerPreferences Property |
Gets the viewer-preferences block that controls how the document appears in
a pdf reader — which panel opens (bookmarks, thumbnails, full-screen), whether
the reader's tool bar / menu bar / window UI is hidden, whether the window
resizes to the first page, and so on. Mutations write through to the underlying
PDF immediately. Works on every document origin — newly-created documents,
loaded documents, and
HtmlToPdf output.
For the HtmlToPdf pipeline, ViewerPreferences is
the pre-conversion knob; the two are complementary — set options before
conversion, then fine-tune the returned document via this property.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfViewerPreferences ViewerPreferences { get; }Public ReadOnly Property ViewerPreferences As PdfViewerPreferences
Get
Property Value
PdfViewerPreferences
See Also