Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 23:43:23 +0000



sc.UseTool()

View Count: 1764

[2013-05-30 16:40:18]
SoundsLikeSun - Posts: 30
Hi,

When using sc.UseTool(), with DrawingType = DRAWING_TEXT, it makes a line of text appear on the graph.

Is there a way to determine the height of this line in terms of ticks (which can dramatically change depending on the timeframe).

I need this value to keep my charts clean and avoid the overlapping of text from different sc.UseTool requests.

Thank you for your answer,

Thomas


[2013-05-30 20:44:18]
Sierra Chart Engineering - Posts: 104368
You can only control the height of text through the s_Usetool::FontSize member and this controls the height in what are called Points. This is a Windows unit which is translated to pixels based upon the DPI setting for the system.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-05-31 20:19:00]
SoundsLikeSun - Posts: 30
OK
Thank you for your fast answer

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account