Skip to main content

TdxRichEditShapeVerticalAlignment Enum

Enumerates floating shape vertical alignment modes.

Declaration

TdxRichEditShapeVerticalAlignment = (
    None,
    Top,
    Center,
    Bottom,
    Inside,
    Outside
);

Members

Name
None
Top
Center
Bottom
Inside
Outside

Remarks

Options include:

Value Description
None The floating shape’s Offset.Y property specifies the absolute vertical offset (in the parent document’s measurement units) from the selected document item (such as a text line within a paragraph, for instance).
Top The top border of a floating picture or text box is aligned to a selected relative vertical position (a document item, such as a page or paragraph, etc.). The floating shape ignores the Offset.Y property value in this mode.
Center A floating shape is vertically centered on a document item specified via the RelativeVerticalPosition property. The floating shape ignores the Offset.Y property value in this mode.
Bottom The bottom border of a floating shape is aligned to a selected relative vertical position. The shape’s Offset.Y property is ignored in this mode.
Inside The “Inside” floating shape alignment mode (the reserved enumeration value). The Rich Edit control correctly persists this floating shape attribute in supported document file formats, but the current implementation has no dedicated visualization routines for this mode.
Outside The “Outside” floating shape alignment mode (the reserved enumeration value). The Rich Edit control correctly persists this floating shape attribute in supported document file formats, but the current implementation has no dedicated visualization routines for this mode.

The IdxRichEditShape interface’s VerticalAlignment property references the TdxRichEditShapeVerticalAlignment type.

Note

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

See Also