Skip to main content

IdxRichEditShape.VerticalAlignment Property

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

Declaration

property VerticalAlignment: TdxRichEditShapeVerticalAlignment read; write;

Property Value

Type
TdxRichEditShapeVerticalAlignment

Remarks

Use the VerticalAlignment and RelativeVerticalPosition properties to center the floating shape vertically at a specific document position (a text line within a paragraph, for instance), or align the shape’s top or bottom border to it.

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

The default VerticalAlignment property value is TdxRichEditShapeVerticalAlignment.None.

See Also