I have a an array of Rectangles (lstRectangles()) in a Canvas (myCanvas) and want to report on screen the topleft coordinates in a label.
I have got this far (see below) but it returns tha values of 0,0.
Dim myPoint As Point
myPoint = lstRectangles(intI).TranslatePoint(New Point(0,0), myCanvas)
myLabel.Content = myPoint.X & myPoint.Y
At this point I have just displayed the rectangle(intI) from a loop, so don't know why it reports the coords as 0,0
Any help would be appreciated.
View Complete Post