This documentation is archived and is not being maintained.

PrintDialog Members

Allows users to select a printer and choose which portions of the document to print.

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

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

(see also Protected Properties )
  Name Description
Public property AllowCurrentPage Gets or sets a value indicating whether the Current Page option button is displayed.
Public property AllowPrintToFile Gets or sets a value indicating whether the Print to file check box is enabled.
Public property AllowSelection Gets or sets a value indicating whether the Selection option button is enabled.
Public property AllowSomePages Gets or sets a value indicating whether the Pages option button is enabled.
Public property Container  Gets the IContainer that contains the Component.(Inherited from Component.)
Public property Document Gets or sets a value indicating the PrintDocument used to obtain PrinterSettings.
Public property PrinterSettings Gets or sets the printer settings the dialog box modifies.
Public property PrintToFile Gets or sets a value indicating whether the Print to file check box is selected.
Public property ShowHelp Gets or sets a value indicating whether the Help button is displayed.
Public property ShowNetwork Gets or sets a value indicating whether the Network button is displayed.
Public property Site  Gets or sets the ISite of the Component.(Inherited from Component.)
Public property Tag  Gets or sets an object that contains data about the control. (Inherited from CommonDialog.)
Public property UseEXDialog  
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(Inherited from Component.)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)
Protected property Events  Gets the list of event handlers that are attached to this Component.(Inherited from Component.)
Top

(see also Protected Methods )
  Name Description
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Reset Overridden. Resets all options, the last selected printer, and the page settings to their default values.
Public method ShowDialog  Overloaded. Runs a common dialog box. (Inherited from CommonDialog.)
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

  Name Description
Public event Disposed  Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.)
Public event HelpRequest  Occurs when the user clicks the Help button on a common dialog box.(Inherited from CommonDialog.)
Top
Show: