Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditViewType Enum

Enumerates available document display modes.

#Declaration

Delphi
TdxRichEditViewType = (
    Simple,
    Draft,
    PrintLayout
);

#Members

Name
Simple
Draft
PrintLayout

#Remarks

Options include:

Value Description
Simple The opened document’s content fills the entire control by width. The control shows no rulers and ignores any page formatting.
Draft The control shows only content in the document body. All page boundaries, headers, and footers are hidden. Only the horizontal ruler is visible.
PrintLayout The control applies page formatting to the opened document. The horizontal and vertical rulers are visible.

The Rich Edit control’s ActiveViewType property references the TdxRichEditViewType type.

Note

TdxRichEditViewType is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditViewType.PrintLayout (in Delphi) or TdxRichEditViewType::PrintLayout (in C++Builder) to refer to the PrintLayout value in code.

See Also