Hello
Were you trying to set a single coordinate or did you pass in an array to the SetCoordinate function? I tried the following
Add a CWGraph on a form and add a rectangle annotation.
Have a button callback and add the following line
CWGraph1.Annotations(1).Shape.SetCoordinates Array(3, 6.7), Array(6.7, 3)
For more information, check out the help for the setCoordinate function.
I hope this helps
Bilal Durrani
NI
Bilal Durrani
NI