Table of Contents

Property PrinterName

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

PrinterName

Gets or sets the name of the printer to use.

string? PrinterName { get; set; }

Property Value

string

The name of the printer to use. Use null value to specify the default printer.

Remarks

After setting the printer name, call IsValid to determine if the printer name is recognized as a valid printer on the system.