Back to Devexpress

PrintTool.ClosePreview() Method

windowsforms-devexpress-dot-xtraprinting-dot-printtool-7a96678e.md

latest1.2 KB
Original Source

PrintTool.ClosePreview() Method

Closes the Print Preview form.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public void ClosePreview()
vb
Public Sub ClosePreview

Remarks

After closing the Print Preview form, it is required to explicitly dispose of the document source (report or link) assigned to the PrintTool.

See Also

PrintTool Class

PrintTool Members

DevExpress.XtraPrinting Namespace