Table of Contents

Class PrintDialog

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Lets users select a printer and choose which sections of the document to print from an Alternet.UI application.

[ControlCategory("Printing")]
public class PrintDialog : BasePrintDialog, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, IComponent, IDisposable
Inheritance
PrintDialog
Implements

Remarks

When you create an instance of PrintDialog, the read/write properties are set to initial values. To get printer settings that are modified by the user with the PrintDialog, use the PrinterSettings property.

Constructors

PrintDialog()

Initializes a new instance of PrintDialog.

Fields

Default

Gets default PrintDialog instance.

Properties

AllowPrintToFile

Gets or sets a value indicating whether the Print to file option button is enabled.

AllowSelection

Gets or sets a value indicating whether the Selection option button is enabled.

AllowSomePages

Gets or sets a value indicating whether the Pages option button is enabled.

Handler

Gets dialog handler.

Methods

CreateHandler()

Creates IDialogHandler object used in this dialog.

Log(ILogWriter?)

Writes the current print dialog settings to the specified log writer.