Support Board
Date/Time: Sun, 12 Jan 2025 18:37:22 +0000
Post From: DeleteUserDrawnACSDrawing
[2017-02-26 21:02:12] |
User53601 - Posts: 105 |
Hello, Can you please help with this: I draw a Text drawing by s_UseTool. Later, I want to delete it by this code: if (sc.ChartDrawingExists(sc.ChartNumber, 77111)) { sc.DeleteUserDrawnACSDrawing(sc.ChartNumber, 77111); }; However the text Is not deleted. But, when I use just this code, the text drawing is deleted: sc.DeleteUserDrawnACSDrawing(sc.ChartNumber, 77111); I can not understand it. I am afraid that without testing the existence of the text drawing, it could in some cases cause unpredictable behavior. |