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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
213 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
125 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
145 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
228 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
189 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment