Login Page - Create Account

Support Board


Date/Time: Mon, 17 Mar 2025 03:13:02 +0000



Post From: question on sc.UseTool() for DRAWING_HORIZONTALLINE

[2022-08-26 06:03:06]
User275839 - Posts: 61
Thank you for your suggestion. Later this evening I tried messing around with different combinations and found that this did what I wanted:

To show just the text (right aligned on top of line):

drawTool.DisplayHorizontalLineValue = 0; 
drawTool.TextAlignment = DT_RIGHT | DT_TOP; 
drawTool.Text = "SAMPLE TEXT";

To show just the price (right aligned and on top of line):

drawTool.DisplayHorizontalLineValue = 1; 
drawTool.TextAlignment = DT_RIGHT | DT_TOP; 
drawTool.Text = "";

So I think this approach will meet my needs for the time being.

Thank you again for checking my post and providing assistance!