officefileapi-devexpress-dot-xtrarichedit-7c134025.md
Specifies the view used to show the document within the RichEditControl.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[ComVisible(true)]
public enum RichEditViewType
<ComVisible(True)>
Public Enum RichEditViewType
| Name | Description |
|---|---|
Simple |
Specifies that the control is in a simple mode used for simple text and web pages. This mode shows how the document looks as a website.
|
| Draft |
Specifies that the control is in a draft mode.
|
| PrintLayout |
Specifies that the control is in a print layout mode. In this mode, the control displays pages with all formattings applied.
|
The following properties accept/return RichEditViewType values:
| Library | Related API Members |
|---|---|
| WinForms Controls | RichEditControl.ActiveViewType |
| RichEditControl.DefaultViewType | |
| WPF Controls | RichEditControl.ActiveViewType |
| RichEditControl.DefaultViewType | |
| Office File API | DraftView.Type |
| PrintLayoutView.Type | |
| RichEditView.Type | |
| SimpleView.Type |
Values listed by this enumeration are used to set the RichEditControl.ActiveViewType property.
See Also