Skip to main content

TdxRichEditShapeHorizontalAlignment Enum

Enumerates floating shape horizontal alignment modes.

Declaration

TdxRichEditShapeHorizontalAlignment = (
    None,
    Left,
    Center,
    Right,
    Inside,
    Outside
);

Members

Name
None
Left
Center
Right
Inside
Outside

Remarks

Options include:

Value Description
None The floating shape’s Offset.X property specifies the absolute horizontal offset (in the parent document’s measurement units) from the selected document item (such as a character within a text line, for instance).
Left The left border of a floating picture or text box is aligned to a selected relative horizontal position (a document item, such as a page or column, etc.). The floating shape ignores the Offset.X property value in this mode.
Center The floating shape is horizontally centered on a document item specified via the RelativeHorizontalPosition property. The floating shape ignores the Offset.X property value in this mode.
Right The right border of a floating shape is aligned to a selected relative horizontal position. The shape’s Offset.X 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 HorizontalAlignment property references the TdxRichEditShapeHorizontalAlignment type.

Note

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

See Also