This documentation is archived and is not being maintained.

PageSettings Members

Specifies settings that apply to a single, printed page.

The following tables list the members exposed by the PageSettings type.

  Name Description
Public method PageSettings Overloaded. Initializes a new instance of the PageSettings class.
Top

  Name Description
Public property Bounds Gets the size of the page, taking into account the page orientation specified by the Landscape property.
Public property Color Gets or sets a value indicating whether the page should be printed in color.
Public property HardMarginX Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page.
Public property HardMarginY Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.
Public property Landscape Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.
Public property Margins Gets or sets the margins for this page.
Public property PaperSize Gets or sets the paper size for the page.
Public property PaperSource Gets or sets the page's paper source; for example, the printer's upper tray.
Public property PrintableArea Gets the bounds of the printable area of the page for the printer.
Public property PrinterResolution Gets or sets the printer resolution for the page.
Public property PrinterSettings Gets or sets the printer settings associated with the page.
Top

(see also Protected Methods )
  Name Description
Public method Clone Creates a copy of this PageSettings.
Public method CopyToHdevmode Copies the relevant information from the PageSettings to the specified DEVMODE structure.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetHdevmode Copies relevant information to the PageSettings from the specified DEVMODE structure.
Public method ToString Overridden. Converts the PageSettings to string form.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: