Skip to main content

TdxRichEditControlBase.ActiveView Property

Provides access to the active document view and its settings.

Declaration

property ActiveView: TdxRichEditView read;

Property Value

Type
TdxRichEditView

Remarks

Use this property to customize the active view’s settings that are common to all document views. Refer to the TdxRichEditView class description for detailed information on these settings. If you need to customize view-specific settings, you can:

  • Cast the ActiveView property value to a TdxRichEditView class descendant that corresponds to the ActiveViewType property value.

  • Use the corresponding setting accessible via the Views property.

ActiveViewType Value Document View Class Dedicated Property
TdxRichEditType.Simple TdxSimpleView Views.Simple
TdxRichEditType.Draft TdxDraftView Views.Draft
TdxRichEditType.PrintLayout TdxPrintLayoutView Views.PrintLayout

Note

Use the ActiveViewType property to switch between available document views. The OnActiveViewChanged event occurs every time the active document view changes.

See Also