officefileapi-devexpress-dot-xtrarichedit-dot-printingoptions-bb6ed7f1.md
Specifies the user interface of the Print Preview form.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[DefaultValue(PrintPreviewFormKind.Ribbon)]
[XtraSerializableProperty]
public PrintPreviewFormKind PrintPreviewFormKind { get; set; }
<DefaultValue(PrintPreviewFormKind.Ribbon)>
<XtraSerializableProperty>
Public Property PrintPreviewFormKind As PrintPreviewFormKind
| Type | Default | Description |
|---|---|---|
| PrintPreviewFormKind | Ribbon |
A PrintPreviewFormKind enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Bars |
The Print Preview form utilizes the Bars user interface.
| | Ribbon |
The Print Preview form utilizes the Ribbon user interface.
|
You can access this nested property as listed below:
| Object Type | Path to PrintPreviewFormKind |
|---|---|
| RichEditControlOptionsBase |
.Printing .PrintPreviewFormKind
|
The following image illustrate the Print Preview form with a Ribbon. This is the default form that is displayed when calling the RichEditControl.ShowPrintPreview method or executing the PrintPreviewCommand.
To invoke the Print Preview form with the Bars user interface, set the PrintPreviewFormKind property to PrintPreviewFormKind.Bars.
See Also