Skip to main content

PrintTool Members

The base class for the ReportPrintTool class.

Constructors

Name Description
PrintTool(PrintingSystemBase) Initializes a new instance of the PrintTool class with the specified Printing System.

Properties

Name Description
PreviewForm Provides access to a Print Preview form of the PrintTool.
PreviewRibbonForm Provides access to a Ribbon Print Preview form of the PrintTool.
PrinterSettings Provides access to the corresponding printer settings. Inherited from PrintToolBase.
PrintingSystem Provides access to the Printing System of the PrintToolBase. Inherited from PrintToolBase.

Methods

Name Description
ClosePreview() Closes the Print Preview form.
CloseRibbonPreview() Closes the Ribbon Print Preview form.
Dispose() Disposes of the PrintTool object.
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.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadPrinterSettings(String) Applies the printer settings restored from the specified file to the system default printer.
LoadPrinterSettingsFromRegistry(String) Applies the printer settings restored from the specified registry to the system default printer.
LoadPrinterSettingsFromStream(Stream) Applies the printer settings restored from the specified stream to the system default printer.
MakeCommandResponsive(PrintingSystemBase) static For internal use.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Print() Prints the current document on the default printer. Inherited from PrintToolBase.
Print(String) Prints the current document on the specified printer. Inherited from PrintToolBase.
PrintAsync(String) Prints the current document on the specified printer asynchronously. Inherited from PrintToolBase.
PrintDialog() Runs the Print dialog to select a printer, specify the print options (number of copies, page range, and paper source) and print the document.
PrintDialog(UserLookAndFeel) Runs the Print dialog to select a printer, specify the print options (number of copies, page range, and paper source) and print the document.
PrintDialog(IWin32Window, UserLookAndFeel) Runs the Print dialog to select a printer, specify the print options (number of copies, page range, and paper source) and print the document.
PrintDialog(IWin32Window) Runs the Print dialog to select a printer, specify the print options (number of copies, page range, and paper source) and print the document.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SavePrinterSettings(String) Saves the settings of the system default printer to the specified file.
SavePrinterSettingsToRegistry(String) Saves the settings of the system default printer to the specified registry.
SavePrinterSettingsToStream(Stream) Saves the settings of the system default printer to the specified stream.
ShowPageSetup() Displays a customized Page Setup dialog that reflects the application’s current Look And Feel settings.
ShowPreview() Invokes the standard Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool.
ShowPreview(UserLookAndFeel) Invokes the standard Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool. The form is invoked using the specified look-and-feel settings.
ShowPreview(IWin32Window, UserLookAndFeel) Invokes the standard Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool. The form is invoked as a child of the specified parent window, using the specified look-and-feel settings.
ShowPreviewDialog() Invokes the standard Print Preview dialog showing the document that is created from a source (report or link) assigned to the PrintTool.
ShowPreviewDialog(UserLookAndFeel) Invokes the standard Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool. The form is invoked using the specified look-and-feel settings.
ShowPreviewDialog(IWin32Window, UserLookAndFeel) Invokes the standard Print Preview dialog showing the document that is created from a source (report or link) assigned to the PrintTool. The dialog is invoked using the specified look-and-feel settings.
ShowRibbonPreview() Invokes the Ribbon Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool.
ShowRibbonPreview(UserLookAndFeel) Invokes the Ribbon Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool. The form is invoked using the specified look-and-feel settings.
ShowRibbonPreview(IWin32Window, UserLookAndFeel) Invokes the Ribbon Print Preview form showing the document that is created from a source (report or link) assigned to the PrintTool. The form is invoked as a child of the specified parent window, using the specified look-and-feel settings.
ShowRibbonPreviewDialog() Invokes the Ribbon Print Preview dialog showing the document that is created from a source (report or link) assigned to the PrintTool.
ShowRibbonPreviewDialog(UserLookAndFeel) Invokes the Ribbon Print Preview dialog showing the document that is created from a source (report or link) assigned to the PrintTool. The dialog is invoked using the specified look-and-feel settings.
ShowRibbonPreviewDialog(IWin32Window, UserLookAndFeel) Invokes the Ribbon Print Preview dialog showing the document that is created from a source (report or link) assigned to the PrintTool. The dialog is invoked as a child of the specified parent window, using the specified look-and-feel settings.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also