System.Drawing.Printing.PrinterSettings: Method Members

The methods of System.Drawing.Printing.PrinterSettings are listed below. For a list of all members, see the PrinterSettings Members list.

See Also: Inherited members from System.Object

Public Methods

Clone() : object

Creates a copy of this System.Drawing.Printing.PrinterSettings.

CreateMeasurementGraphics() : System.Drawing.Graphics

Returns a System.Drawing.Graphics that contains printer information that is useful when creating a System.Drawing.Printing.PrintDocument.

CreateMeasurementGraphics(bool) : System.Drawing.Graphics

Returns a System.Drawing.Graphics that contains printer information, optionally specifying the origin at the margins.

CreateMeasurementGraphics(PageSettings) : System.Drawing.Graphics

Returns a System.Drawing.Graphics that contains printer information associated with the specified System.Drawing.Printing.PageSettings.

CreateMeasurementGraphics(PageSettings, bool) : System.Drawing.Graphics

Creates a System.Drawing.Graphics associated with the specified page settings and optionally specifying the origin at the margins.

GetHdevmode() : IntPtr

Creates a handle to a DEVMODE structure that corresponds to the printer settings.

GetHdevmode(PageSettings) : IntPtr

Creates a handle to a DEVMODE structure that corresponds to the printer and the page settings specified through the pageSettings parameter.

GetHdevnames() : IntPtr

Creates a handle to a DEVNAMES structure that corresponds to the printer settings.

IsDirectPrintingSupported(System.Drawing.Image) : bool

Gets a value indicating whether the printer supports printing the specified image file.

IsDirectPrintingSupported(System.Drawing.Imaging.ImageFormat) : bool

Returns a value indicating whether the printer supports printing the specified image format.

SetHdevmode(IntPtr)

Copies the relevant information out of the given handle and into the System.Drawing.Printing.PrinterSettings.

SetHdevnames(IntPtr)

Copies the relevant information out of the given handle and into the System.Drawing.Printing.PrinterSettings.

override
ToString() : string

Provides information about the System.Drawing.Printing.PrinterSettings in string form.