Support Board
Date/Time: Tue, 16 Sep 2025 04:53:34 +0000
Post From: Vertical Text Alignment through ACSIL
[2022-02-15 16:41:54] |
kas64h - Posts: 87 |
Hello, I'm generating user drawn line drawings through ACSIL, and explicitly aligning the text using Tool.TextAlignment = DT_BOTTOM | DT_RIGHT; or Tool.TextAlignment = DT_TOP | DT_RIGHT; etc. However, when using ACSIL to make any modifications to the drawing (NOT Text Alignment), the vertical text alignment is being lost and continually reverts to TOP (or DT_TOP in code). When debugging I can see that Tool.TextAlignment is ONLY returning the horizontal component of the drawing, and the vertical component is being lost (or not read). Hence, when the drawing is re-drawn, i.e. Tool.AddMethod = UTAM_ADD_OR_ADJUST; sc.UseTool(Tool); the text is always vertically top aligned (whereas beforehand it may well have been bottom aligned). I've only just noticed this, so it must be something that's only recently occurred (behaviour has been seen in version 2351 and current version 2355, not certain how far back it was working correctly). Could you please take a look, as when making bulk changes to drawings through ACSIL this is causing a lot of problems. Many Thanks. |