Table of Contents

Class PrinterSettings

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

Specifies information about how a document is printed, when printing from a AlterNET UI application.

public class PrinterSettings : HandledObject<IPrinterSettingsHandler>, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged
Inheritance
PrinterSettings
Implements

Remarks

Typically, you access a PrinterSettings through PrinterSettings property to modify printer settings.

Constructors

PrinterSettings()

Initializes a new instance of the PrinterSettings class.

PrinterSettings(IPrinterSettingsHandler)

Initializes a new instance of the PrinterSettings class.

Properties

Collate

Gets or sets a value indicating whether the printed document is collated.

Copies

Gets or sets the number of copies of the document to print.

Duplex

Gets or sets the printer setting for double-sided printing.

FromPage

Gets or sets the page number of the first page to print.

IsDefaultPrinter

Gets a value indicating whether the PrinterName property designates the default printer.

IsValid

Gets a value indicating whether the PrinterName property designates a valid printer.

MaximumPage

Gets or sets the maximum FromPage or ToPage that can be selected in a PrintDialog.

MinimumPage

Gets or sets the minimum FromPage or ToPage that can be selected in a PrintDialog.

PrintFileName

Gets or sets the file name, when printing to a file.

PrintRange

Gets or sets the page numbers that the user has specified to be printed.

PrintToFile

Gets or sets a value indicating whether the printing output is sent to a file instead of a port.

PrinterName

Gets or sets the name of the printer to use.

ToPage

Gets or sets the number of the last page to print.

Methods

CreateHandler()

Creates handler.