Skip to main content

TdxRichEditSubDocumentType Enum

Enumerates subdocument types in the Rich Edit control’s document model.

Declaration

TdxRichEditSubDocumentType = (
    Main,
    Header,
    Footer,
    TextBox
);

Members

Name
Main
Header
TextBox

Remarks

Options include:

Value Description
Main The main document body.
Header A document header.
Footer A document footer.
TextBox A text box within a floating shape.

The IdxRichEditSubDocument interface’s GetSubDocumentType function returns a TdxRichEditSubDocumentType value.

Note

TdxRichEditSubDocumentType 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 TdxRichEditSubDocumentType.TextBox (in Delphi) or TdxRichEditSubDocumentType::TextBox (in C++Builder) to refer to the TextBox value in code.

See Also