Export (0) Print
Expand All

PrintDialog Members

Lets users select a printer and choose which sections of the document to print from a Windows Forms application.

The PrintDialog type exposes the following members.

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

  NameDescription
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.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method HookProc Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box. (Inherited from CommonDialog.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Protected method OnHelpRequest Raises the HelpRequest event. (Inherited from CommonDialog.)
Protected method OwnerWndProc Defines the owner window procedure that is overridden to add specific functionality to a common dialog box. (Inherited from CommonDialog.)
Public method Reset Resets all options, the last selected printer, and the page settings to their default values. (Overrides CommonDialog.Reset().)
Protected method RunDialog When overridden in a derived class, specifies a common dialog box. (Inherited from CommonDialog.)
Public method ShowDialog Overloaded. Runs a common dialog box.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top

  NameDescription
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.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property Document Gets or sets a value indicating the PrintDocument used to obtain PrinterSettings.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
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 Gets or sets a value indicating whether the dialog should be shown in the Windows XP style for systems running Windows XP Home Edition, Windows XP Professional, Windows Server 2003 or later.
Top

  NameDescription
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event HelpRequest Occurs when the user clicks the Help button on a common dialog box. (Inherited from CommonDialog.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft