API Reference
PdfViewerPreferencesOptions
Simple viewer preferences emitted in the generated PDF catalog.
Inheritance
- Object
- PdfViewerPreferencesOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
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
Properties
public Nullable<Boolean> DisplayDocTitle { get; set; } #Requests that viewers display the document title from metadata instead of the file name.
public Nullable<Boolean> HideToolbar { get; set; } #Requests that viewers hide the toolbar when the document is opened.
public Nullable<Boolean> HideWindowUI { get; set; } #Requests that viewers hide user-interface elements when the document is opened.
public Nullable<Boolean> FitWindow { get; set; } #Requests that viewers resize the window to fit the first displayed page.
public Nullable<Boolean> CenterWindow { get; set; } #Requests that viewers center the document window on screen.
public Nullable<Boolean> PickTrayByPdfSize { get; set; } #Requests that viewers pick the printer tray based on each page's PDF size.
public Nullable<PdfNonFullScreenPageMode> NonFullScreenPageMode { get; set; } #Requests the page mode used when leaving full-screen display.
public Nullable<PdfViewerDirection> Direction { get; set; } #Requests the viewer page progression direction.
public Nullable<PdfPrintScaling> PrintScaling { get; set; } #Requests viewer print scaling behavior.
public Nullable<PdfDuplexMode> Duplex { get; set; } #Requests viewer duplex-printing behavior.
public Nullable<PdfPageBoundaryBox> ViewArea { get; set; } #Requests the page boundary box used when fitting pages in the viewer.
public Nullable<PdfPageBoundaryBox> ViewClip { get; set; } #Requests the page boundary box used when clipping pages in the viewer.
public Nullable<PdfPageBoundaryBox> PrintArea { get; set; } #Requests the page boundary box used when printing pages.
public Nullable<PdfPageBoundaryBox> PrintClip { get; set; } #Requests the page boundary box used when clipping printed pages.
public Nullable<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.