PdfViewerPreferencesOptionsFluent
OfficeIMO.Pdf
The fluent methods of PdfViewerPreferencesOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfViewerPreferencesOptionsFluent
Methods
public static PdfViewerPreferencesOptions CenterWindow(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, bool? value = true) #Sets PdfViewerPreferencesOptions.CenterWindow: Requests that viewers center the document window on screen.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { CenterWindow = value }; pdfViewerPreferencesOptions.CenterWindow(value);public static PdfViewerPreferencesOptions Direction(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfViewerDirection? value) #Sets PdfViewerPreferencesOptions.Direction: Requests the viewer page progression direction.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfViewerDirection?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { Direction = value }; pdfViewerPreferencesOptions.Direction(value);public static PdfViewerPreferencesOptions DisplayDocTitle(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, bool? value = true) #Sets PdfViewerPreferencesOptions.DisplayDocTitle: Requests that viewers display the document title from metadata instead of the file name.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { DisplayDocTitle = value }; pdfViewerPreferencesOptions.DisplayDocTitle(value);public static PdfViewerPreferencesOptions Duplex(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfDuplexMode? value) #Sets PdfViewerPreferencesOptions.Duplex: Requests viewer duplex-printing behavior.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfDuplexMode?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { Duplex = value }; pdfViewerPreferencesOptions.Duplex(value);public static PdfViewerPreferencesOptions FitWindow(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, bool? value = true) #Sets PdfViewerPreferencesOptions.FitWindow: Requests that viewers resize the window to fit the first displayed page.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { FitWindow = value }; pdfViewerPreferencesOptions.FitWindow(value);public static PdfViewerPreferencesOptions HideToolbar(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, bool? value = true) #Sets PdfViewerPreferencesOptions.HideToolbar: Requests that viewers hide the toolbar when the document is opened.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { HideToolbar = value }; pdfViewerPreferencesOptions.HideToolbar(value);public static PdfViewerPreferencesOptions HideWindowUI(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, bool? value = true) #Sets PdfViewerPreferencesOptions.HideWindowUI: Requests that viewers hide user-interface elements when the document is opened.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { HideWindowUI = value }; pdfViewerPreferencesOptions.HideWindowUI(value);public static PdfViewerPreferencesOptions NonFullScreenPageMode(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfNonFullScreenPageMode? value) #Sets PdfViewerPreferencesOptions.NonFullScreenPageMode: Requests the page mode used when leaving full-screen display.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfNonFullScreenPageMode?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { NonFullScreenPageMode = value }; pdfViewerPreferencesOptions.NonFullScreenPageMode(value);public static PdfViewerPreferencesOptions NumCopies(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, int? value) #Sets PdfViewerPreferencesOptions.NumCopies: Requested number of copies used to initialize the viewer print dialog.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { NumCopies = value }; pdfViewerPreferencesOptions.NumCopies(value);public static PdfViewerPreferencesOptions PickTrayByPdfSize(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, bool? value = true) #Sets PdfViewerPreferencesOptions.PickTrayByPdfSize: Requests that viewers pick the printer tray based on each page's PDF size.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { PickTrayByPdfSize = value }; pdfViewerPreferencesOptions.PickTrayByPdfSize(value);public static PdfViewerPreferencesOptions PrintArea(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfPageBoundaryBox? value) #Sets PdfViewerPreferencesOptions.PrintArea: Requests the page boundary box used when printing pages.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageBoundaryBox?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { PrintArea = value }; pdfViewerPreferencesOptions.PrintArea(value);public static PdfViewerPreferencesOptions PrintClip(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfPageBoundaryBox? value) #Sets PdfViewerPreferencesOptions.PrintClip: Requests the page boundary box used when clipping printed pages.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageBoundaryBox?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { PrintClip = value }; pdfViewerPreferencesOptions.PrintClip(value);public static PdfViewerPreferencesOptions PrintScaling(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfPrintScaling? value) #Sets PdfViewerPreferencesOptions.PrintScaling: Requests viewer print scaling behavior.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfPrintScaling?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { PrintScaling = value }; pdfViewerPreferencesOptions.PrintScaling(value);public static PdfViewerPreferencesOptions ViewArea(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfPageBoundaryBox? value) #Sets PdfViewerPreferencesOptions.ViewArea: Requests the page boundary box used when fitting pages in the viewer.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageBoundaryBox?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { ViewArea = value }; pdfViewerPreferencesOptions.ViewArea(value);public static PdfViewerPreferencesOptions ViewClip(PdfViewerPreferencesOptions pdfViewerPreferencesOptions, PdfPageBoundaryBox? value) #Sets PdfViewerPreferencesOptions.ViewClip: Requests the page boundary box used when clipping pages in the viewer.
Parameters
- pdfViewerPreferencesOptions OfficeIMO.Pdf.PdfViewerPreferencesOptions
- The instance.
- value OfficeIMO.Pdf.PdfPageBoundaryBox?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfViewerPreferencesOptions { ViewClip = value }; pdfViewerPreferencesOptions.ViewClip(value);