Back to Devexpress

PrintingOptions.PrintPreviewFormKind Property

officefileapi-devexpress-dot-xtrarichedit-dot-printingoptions-bb6ed7f1.md

latest2.9 KB
Original Source

PrintingOptions.PrintPreviewFormKind Property

Specifies the user interface of the Print Preview form.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue(PrintPreviewFormKind.Ribbon)]
[XtraSerializableProperty]
public PrintPreviewFormKind PrintPreviewFormKind { get; set; }
vb
<DefaultValue(PrintPreviewFormKind.Ribbon)>
<XtraSerializableProperty>
Public Property PrintPreviewFormKind As PrintPreviewFormKind

Property Value

TypeDefaultDescription
PrintPreviewFormKindRibbon

A PrintPreviewFormKind enumeration value.

|

Available values:

NameDescription
Bars

The Print Preview form utilizes the Bars user interface.

| | Ribbon |

The Print Preview form utilizes the Ribbon user interface.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PrintPreviewFormKind
RichEditControlOptionsBase

.Printing .PrintPreviewFormKind

|

Remarks

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

PrintingOptions Class

PrintingOptions Members

DevExpress.XtraRichEdit Namespace