Skip to main content

PageSettingsHelper Methods

Enables you to override the default printer settings in your application.
Name Description
CreateLetterPaperSize() static Specifies a custom letter paper size.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLandscapeFieldValue(PageSettings) static For internal use.
GetMinMargins(PageSettings) static Returns the minimum page margins supported by the specified page settings.
GetPaperSizeFieldValue(PageSettings) static For internal use.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetUserSetPageSettings(PrintDocument) static
SetDefaultPageSettings(PrinterSettings, PageSettings) static Specifies the default printer settings.
SetLandscapeFieldValue(PageSettings, Object) static For internal use.
SetPaperSizeFieldValue(PageSettings, Object) static For internal use.
SetPrinterName(PrinterSettings, String) static Assigns the specified printer name to the default printer settings (if such a printer is installed on the machine).
ToString() Returns a string that represents the current object. Inherited from Object.
See Also