Login Page - Create Account

Support Board


Date/Time: Thu, 10 Oct 2024 02:22:10 +0000



Post From: flag used to 'Center Text Vertically' for DRAWING_RECTANGLE_EXT_HIGHLIGHT

[2023-05-02 04:41:11]
User719512 - Posts: 245
What flag is used "Center Text Vertically" for DRAWING_RECTANGLE_EXT_HIGHLIGHT and DRAWING_RECTANGLEHIGHLIGHT?
If you right click properties, you can "Center Text Vertically", but have not found a way to set this flag from ACSIL.

DT_VCENTER seems like it should be correct, but has no effect.


s_UseTool Tool;
Tool.Clear();
...
Tool.DrawingType = DRAWING_RECTANGLE_EXT_HIGHLIGHT;
Tool.TextAlignment = DT_VCENTER;
Tool.Text = "text to show centered";