Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PrinterSettings Methods

The PrinterSettings type exposes the following members.

  Name Description
Public method Clone Creates a copy of this PrinterSettings.
Public method CreateMeasurementGraphics() Returns a Graphics that contains printer information that is useful when creating a PrintDocument.
Public method CreateMeasurementGraphics(Boolean) Returns a Graphics that contains printer information, optionally specifying the origin at the margins.
Public method CreateMeasurementGraphics(PageSettings) Returns a Graphics that contains printer information associated with the specified PageSettings.
Public method CreateMeasurementGraphics(PageSettings, Boolean) Creates a Graphics associated with the specified page settings and optionally specifying the origin at the margins.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetHdevmode() Creates a handle to a DEVMODE structure that corresponds to the printer settings.
Public method GetHdevmode(PageSettings) Creates a handle to a DEVMODE structure that corresponds to the printer and the page settings specified through the pageSettings parameter.
Public method GetHdevnames Creates a handle to a DEVNAMES structure that corresponds to the printer settings.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDirectPrintingSupported(Image) Gets a value indicating whether the printer supports printing the specified image file.
Public method IsDirectPrintingSupported(ImageFormat) Returns a value indicating whether the printer supports printing the specified image format.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetHdevmode Copies the relevant information out of the given handle and into the PrinterSettings.
Public method SetHdevnames Copies the relevant information out of the given handle and into the PrinterSettings.
Public method ToString Infrastructure. Provides information about the PrinterSettings in string form. (Overrides Object.ToString().)
Top
Show:
© 2015 Microsoft