This documentation is archived and is not being maintained.

PrintDocument Properties

The properties of the PrintDocument class are listed here. For a complete list of PrintDocument class members, see the PrintDocument Members topic.

Public Properties

public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDefaultPageSettings Gets or sets page settings that are used as defaults for all pages to be printed.
public propertyDocumentName Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
public propertyOriginAtMargins Gets or sets a value indicating whether the position of a graphics object associated with a page is located just inside the user-specified margins or at the top-left corner of the printable area of the page.
public propertyPrintController Gets or sets the print controller that guides the printing process.
public propertyPrinterSettings Gets or sets the printer that prints the document.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

See Also

PrintDocument Class | System.Drawing.Printing Namespace