Skip to main content

PrintOptionsViewModel Members

A View Model that provides options for printing documents.

Properties

Name Description
AllowCollate Gets whether the pages can be collated when multiple document copies are printed.
AllowCopies Gets whether it is possible to print multiple document copies.
AllowSomePages Specifies whether it is possible to print a range of pages.
CanDuplex Indicates whether double-sided printing is available.
Collate Specifies whether to collate the pages if multiple document copies are printed.
Copies Specifies the number of document copies to print.
CustomPageRange Specifies the range of document pages to print.
Duplex Specifies the mode for double-sided printing.
FileSelectCommand Returns a command that invokes the Save File dialog for selecting a file to which a document should be printed.
IsInDesignMode static Gets whether design-time mode is active. Inherited from ViewModelBase.
IsValid Specifies whether the PrintOptionsViewModel.PrintFileName property designates a valid file.
MaxCopies Gets the maximum number of document copies that can be printed.
PagePreviewIndex Specifies the index of a document page to preview.
PaperSource Specifies the selected paper source.
PaperSources Provides access to the paper sources available on the printer.
PreferencesCommand Returns a command that invokes the dialog to specify document properties for the selected printer.
PreviewImage Specifies the preview image of the current document page.
PrintCommand Returns a command that prints the document.
PrinterItems Provides access to available printers.
PrintFileName Specifies the file name when printing a document to a file.
PrintRange Specifies whether to print only the range of document pages.
PrintToFile Specifies whether to print the document to a file.
SelectedPrinter Specifies the selected printer.
ShowFileReplacingRequest For internal use.
UpdatePreviewCommand For internal use. Returns a command that updates the preview image.

Methods

Name Description
Create(PrintingSystemBase) static Creates a new PrintOptionsViewModel class descendant with the specified settings.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPropertyName<T>(Expression<Func<T>>) static Returns the name of a property identified by a lambda expression. Inherited from BindableBase.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SavePrinterSettings() Saves the printer settings to an assosiated PrintingSystemBase object.
SetPrintRange(PrintRange) Sets which part of the document to print.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when a property value changes. Inherited from BindableBase.
See Also