How to Get the Point in cadPictBox?
Posted: 26 Apr 2011, 07:18
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);
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);