API Reference
PdfViewerPreferencesOptions
Simple viewer preferences emitted in the generated PDF catalog.
Inheritance
- Object
- PdfViewerPreferencesOptions
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Accepted by parameters 2
Constructors
public PdfViewerPreferencesOptions() #Methods
public PdfViewerPreferencesOptions AddPrintPageRange(Int32 startPageNumber, Int32 endPageNumber) #PdfViewerPreferencesOptionsAdds a one-based inclusive page range used to initialize the viewer print dialog.
Parameters
- startPageNumber System.Int32
- endPageNumber System.Int32
public PdfViewerPreferencesOptions AddPrintPageRange(PdfPrintPageRange range) #PdfViewerPreferencesOptionsAdds a one-based inclusive page range used to initialize the viewer print dialog.
Parameters
- range OfficeIMO.Pdf.PdfPrintPageRange
public PdfViewerPreferencesOptions ClearPrintPageRanges() #PdfViewerPreferencesOptionsClears generated print page ranges while leaving other viewer preferences unchanged.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Boolean? DisplayDocTitle { get; set; } #Requests that viewers display the document title from metadata instead of the file name.
public Boolean? HideToolbar { get; set; } #Requests that viewers hide the toolbar when the document is opened.
public Boolean? HideWindowUI { get; set; } #Requests that viewers hide user-interface elements when the document is opened.
public Boolean? FitWindow { get; set; } #Requests that viewers resize the window to fit the first displayed page.
public Boolean? CenterWindow { get; set; } #Requests that viewers center the document window on screen.
public Boolean? PickTrayByPdfSize { get; set; } #Requests that viewers pick the printer tray based on each page's PDF size.
public PdfNonFullScreenPageMode? NonFullScreenPageMode { get; set; } #Requests the page mode used when leaving full-screen display.
public PdfViewerDirection? Direction { get; set; } #Requests the viewer page progression direction.
public PdfPrintScaling? PrintScaling { get; set; } #Requests viewer print scaling behavior.
public PdfDuplexMode? Duplex { get; set; } #Requests viewer duplex-printing behavior.
public PdfPageBoundaryBox? ViewArea { get; set; } #Requests the page boundary box used when fitting pages in the viewer.
public PdfPageBoundaryBox? ViewClip { get; set; } #Requests the page boundary box used when clipping pages in the viewer.
public PdfPageBoundaryBox? PrintArea { get; set; } #Requests the page boundary box used when printing pages.
public PdfPageBoundaryBox? PrintClip { get; set; } #Requests the page boundary box used when clipping printed pages.
public Int32? NumCopies { get; set; } #Requested number of copies used to initialize the viewer print dialog.
public IReadOnlyList<PdfPrintPageRange> PrintPageRanges { get; } #One-based inclusive page ranges used to initialize the viewer print dialog.