TdxRichEditTextWrappingType Enum
Enumerates available document layer positions and text wrapping modes for a floating shape.
#Declaration
TdxRichEditTextWrappingType = (
Square,
Tight,
Through,
TopAndBottom,
BehindText,
InFrontOfText
);
#Members
Name |
---|
Square
|
Tight
|
Through
|
Top
|
Behind
|
In
|
#Remarks
Options include:
Icon | Value | End-User Command | Description | Example |
---|---|---|---|---|
Square | The “Square” text wrapping mode. A floating picture or text box is on the same layer with the parent document’s text. The text wraps around all sides of the floating shape’s bounding square. The shape’s Margin | |||
Tight | The “Tight” text wrapping mode (the reserved enumeration value). A floating picture or text box is on the same layer with the parent document’s text. The text tightly wraps around the floating shape and ignores margins between its borders and text. 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 the “Tight” text wrapping mode. The mode looks identical to “Square” as a result. | |||
Through | The “Through” text wrapping mode (the reserved enumeration value). A floating picture or text box is on the same layer with the parent document’s text. The text tightly wraps around the floating shape and fills the shape’s transparent background areas. The distances between the shape’s borders and text are ignored in the same manner as in the “Tight” mode. 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 the “Through” text wrapping mode. The mode looks identical to “Square” as a result. | |||
Top | The “Top and Bottom” text wrapping mode. A floating picture or text box shares the layer with the parent document’s text and splits it horizontally. The shape’s Margin | |||
Behind | The “Behind Text” text wrapping mode. A floating picture or text box is on the “background” layer, that is, behind the parent document’s text. | |||
In | The “In Front of Text” text wrapping mode. A floating picture or text box is on the “foreground” layer, that is, overlaps the parent document’s text. The underlying text is visible if the floating shape is semi-transparent. |
The IdxRichEditShape interface’s TextWrapping property references the TdxRichEditTextWrappingType type.
Note
Tdx
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 Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Top
value in code.