Page 1 of 1

User drawing on TsgDrawingNavigator

Posted: 11 Dec 2010, 05:17
by mberard
I would like to draw a line on a TsgDrawingNavigator when then user clicks and drags the mouse. This is to show the limits of the mouse drag. The line will disappear when the mouse button is released. I do not want to put the line into the CAD drawing. I tried drawing into a TPaintBox that was placed on top of the TsgDrawingNavigator. However, the line did not appear. Does anybody know how to display a line without changing the underlying CAD drawing?

Re: User drawing on TsgDrawingNavigator

Posted: 15 Dec 2010, 18:50
by support
Hello.
You can draw on Canvas if adding to CADImage undesirable. For example, try use TsgDrawingNavigator.Canvas.Polyline method or TsgDrawingNavigator.Canvas.MoveTo/TsgDrawingNavigator.Canvas.LineTo construction.

Alexander.