Skip to main content

IdxRichEditShape.HorizontalAlignment Property

Specifies how the floating picture or text box is placed horizontally in relation to the selected document item.

Declaration

property HorizontalAlignment: TdxRichEditShapeHorizontalAlignment read; write;

Property Value

Type
TdxRichEditShapeHorizontalAlignment

Remarks

Use the HorizontalAlignment and RelativeHorizontalPosition properties to center the floating shape horizontally at a specific document position (a single character within a text line, for instance), or align the shape’s left or right border to it.

The Offset.X property specifies the absolute horizontal offset (in the parent document’s measurement units) from the selected position if the HorizontalAlignment property is set to TdxRichEditShapeHorizontalAlignment.None. Refer to the TdxRichEditShapeHorizontalAlignment type description for detailed information on all available options.

The default HorizontalAlignment property value is TdxRichEditShapeHorizontalAlignment.None.

See Also