How to Get the Point in cadPictBox?

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
vcomer
Posts: 6
Joined: 08 Mar 2011, 04:38

How to Get the Point in cadPictBox?

Post by vcomer » 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);

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: How to Get the Point in cadPictBox?

Post by support » 26 Apr 2011, 10:07

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply