vcl-dxrichedit-dot-nativeapi-6278a31a.md
Enumerates base horizontal document positions for a floating picture or text box.
TdxRichEditShapeRelativeHorizontalPosition = (
Page,
Character,
Column,
Margin,
LeftMargin,
RightMargin,
InsideMargin,
OutsideMargin
);
| Name |
|---|
Page |
Character |
Column |
Margin |
LeftMargin |
RightMargin |
InsideMargin |
OutsideMargin |
Options include:
| Value | Description |
|---|---|
| Page | A floating object is positioned relative to a document page. |
| Character | A floating object is positioned relative to a character. |
| Column | A floating object is positioned relative to a column. |
| Margin | A floating object is positioned relative to a margin. |
| LeftMargin | A floating object is positioned relative to the left margin. |
| RightMargin | A floating object is positioned relative to the right margin. |
| InsideMargin | The reserved value – do not use it. |
| OutsideMargin | The reserved value – do not use it. |
The IdxRichEditShape interface’s RelativeHorizontalPosition property references the TdxRichEditShapeRelativeHorizontalPosition type.
Note
TdxRichEditShapeRelativeHorizontalPosition 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 TdxRichEditShapeRelativeHorizontalPosition.RightMargin (in Delphi) or TdxRichEditShapeRelativeHorizontalPosition::RightMargin (in C++Builder) to refer to the RightMargin value in code.
See Also
TdxRichEditShapeHorizontalAlignment
TdxRichEditShapeVerticalAlignment