Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 09:11:00 +0000



Post From: Delete Chart Drawings added by UseTool

[2014-05-23 21:00:37]
sampater - Posts: 243
I have a question:

If i have Chart Drawings that have been added by Advanced Custom Studies using sc.UseTool() and have specified AddAsUserDrawnDrawing = 1, then i must deleted them by calling sc.DeleteLineOrText() or sc.DeleteUserDrawnACSDrawing() ?

Here: http://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html#AddAsUserDrawnDrawing is described that i must do it by calling sc.DeleteLineOrText(), and here: http://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html#scDeleteUserDrawnACSDrawing that sc.DeleteUserDrawnACSDrawing() deletes these Chart Drawings. Which function is properly, or both work for this?

Thanks
Marek