Page 1 of 1

How to Get the Point in cadPictBox?

Posted: 26 Apr 2011, 07:18
by vcomer
In void cadPictBox_MouseMove(object sender, MouseEventArgs e),
I can get the cad Point by :
DPoint vPt = GetRealPoint(e.X, e.Y);

Instead,Now,I know a DPoint of the CAD(vPt, for example),How to Get the point in the cadPictBox of the vPt?
How to write the function:
Point GetMyPoint(DPoint vPt)?

Point pt = GetMyPoint(vPt);

Re: How to Get the Point in cadPictBox?

Posted: 26 Apr 2011, 10:07
by support
Hello.
CAD Import .NET provides method for getting CADPictureBox screen point that correspond to drawing point with current visualization conditions. Please use CADImage.GetPoint method.

Alexander.