Back to Devexpress

PrintingSystem.PreviewFormEx Property

windowsforms-devexpress-dot-xtraprinting-dot-printingsystem.md

latest2.3 KB
Original Source

PrintingSystem.PreviewFormEx Property

Gets the form used to display the document preview.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
[Browsable(false)]
public virtual PrintPreviewFormEx PreviewFormEx { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property PreviewFormEx As PrintPreviewFormEx

Property Value

TypeDescription
PrintPreviewFormEx

A PrintPreviewFormEx object which represents the current preview form.

|

Remarks

Use the PreviewFormEx property to access the Print Preview Form used to preview the document created by this PrintingSystem. This form consists of the PrintControl object, and the Tool Bar , the Status Bar , and the Menu elements controlled via the PrintBarManager object.

The standard appearance of the Print Preview Form is shown in the image below.

Example

The following example demonstrates how to show the PrintPreviewFormEx of the PrintingSystem component.

csharp
printingSystem1.PreviewFormEx.Show();
vb
PrintingSystem1.PreviewFormEx.Show()

See Also

PrintingSystem Class

PrintingSystem Members

DevExpress.XtraPrinting Namespace