Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditShape.HorizontalAlignment Property

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

#Declaration

Delphi
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