For example I would like to change the start point or end point of a line that has already been drawn. Do I have to remove the line and draw it again or is there a way to update the existing line?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
UpdateDrawObject
Collapse
X
-
UpdateDrawObject
I see there is a RemoveDrawObject function. Is there a way to update an existing DrawObject?
For example I would like to change the start point or end point of a line that has already been drawn. Do I have to remove the line and draw it again or is there a way to update the existing line? -
Reuse its tag, or use an IDrawObject, and simply redraw it with the new parameters.Originally posted by dbtrader View PostI see there is a RemoveDrawObject function. Is there a way to update an existing DrawObject?
For example I would like to change the start point or end point of a line that has already been drawn. Do I have to remove the line and draw it again or is there a way to update the existing line?
ref: http://www.ninjatrader.com/support/h...l?drawline.htm
Look at the description of the tag parameter.Last edited by koganam; 10-15-2012, 05:44 PM.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
127 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
85 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
86 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment