Procedure TextFlip flips newly created text vertically or horizontally. Parameter FlipType specifies the flip effect to be applied to the text.
Table - Text Flip Style
| Flip Style | Constant |
|---|---|
| No reflection | 0 |
| Horizontal reflection thru origin | 1 |
| Vertical reflection thru origin | 2 |
PROCEDURE TextFlip(FlipType : INTEGER);def vs.TextFlip(FlipType):
return None| Name | Type | Description |
|---|---|---|
| FlipType | INTEGER | Text flip setting for text. |
TextFlip(1);
CreateText('Sample text string');{ ----- set the text parameters ----- }
TextSize (gCellLabelSize);
PushAttrs;
{TextFace ([bold]);}
TextFlip (0);
TextRotate (#0);
TextSpace (2);
TextJust (2);
TextVerticalAlign (3);
BEGIN
TextFlip( 2 );
textAlignTop := NOT textAlignTop;
END;
ALLOCATE spaces [1..temp_i];
space_cnt := 0;
ForEachObject(LoadSpaceArray, (R IN ['Space']));
SortArray(spaces, space_cnt, 3);
TextFlip(0);
TextRotate(0);
TextSpace(2);
TextVerticalAlign(3);
TextWidth := 0;vs.TextFlip(FlipType)Availability: from All Versions