resolution of picturebox of CAD editor control
Moderators: SDS, support, admin
resolution of picturebox of CAD editor control
What is resolution of the picture box of cadeditorcontrol?
what is drawing scale for that?
If we do zoom-in, zoom-out, does it affect on resolution and drawing scale? how?
While programming, how can i get particular point's position/location in term of X,Y,Z co-ordinates? (if i use mouse event, it gives me mouseeventargs, which has X, Y co-ordinates.. but it works strangely.. it not give true position of mouse.. i've asked about this in my last post)
If we do zoom-in / zoom-out, does it affect on X,Y,Z co-ordinates?
Are they(coordinates) absolute or relative?
What is better to use? absolute? or relate co-ordinates?
-Khyati
what is drawing scale for that?
If we do zoom-in, zoom-out, does it affect on resolution and drawing scale? how?
While programming, how can i get particular point's position/location in term of X,Y,Z co-ordinates? (if i use mouse event, it gives me mouseeventargs, which has X, Y co-ordinates.. but it works strangely.. it not give true position of mouse.. i've asked about this in my last post)
If we do zoom-in / zoom-out, does it affect on X,Y,Z co-ordinates?
Are they(coordinates) absolute or relative?
What is better to use? absolute? or relate co-ordinates?
-Khyati
Re: resolution of picturebox of CAD editor control
Hello.
PictureBox of CADEditorControl fill its container by default. However you can change this parameter and use PictureBox size instead.
CADPictureBox provides screen coordinates on mouse events. CADImage operates with drawing coordinates. You can transform a two-dimensional screen point into three-dimensional CAD point using CADConst.GetRealPoint method. Reverse conversion can be fulfilled using CADImage.GetPoint method. Please see example in Viewer demo application.
Alexander.
PictureBox of CADEditorControl fill its container by default. However you can change this parameter and use PictureBox size instead.
CADPictureBox provides screen coordinates on mouse events. CADImage operates with drawing coordinates. You can transform a two-dimensional screen point into three-dimensional CAD point using CADConst.GetRealPoint method. Reverse conversion can be fulfilled using CADImage.GetPoint method. Please see example in Viewer demo application.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: resolution of picturebox of CAD editor control
Hello,
I appreciate your regularity in replying to queries.
It would be more beneficial to new users, like me, if answers are step by step (as asked). Paragraphs are not so well, when questions are asked separately even in single post.
1) X,Y co-ordinates show some value. What is unit of them? mm or inch?
2) what is picture box grid's resolution?
3) if we do zoom-in / zoom-out, does it change scale of drawing or resolution of picture box ?
Thanks.
I appreciate your regularity in replying to queries.
It would be more beneficial to new users, like me, if answers are step by step (as asked). Paragraphs are not so well, when questions are asked separately even in single post.
1) X,Y co-ordinates show some value. What is unit of them? mm or inch?
2) what is picture box grid's resolution?
3) if we do zoom-in / zoom-out, does it change scale of drawing or resolution of picture box ?
Thanks.
Re: resolution of picturebox of CAD editor control
Hello Khyati.
Some questions can't be answered step by step because question formula not fully correct. For example you asking
Zoom in or out changes drawing scale and doesn't concerned to CADPictureBox sizes.
Alexander.
Some questions can't be answered step by step because question formula not fully correct. For example you asking
But the CADPictureBox sizes can be changed to required in your project. In demo applications CADPictureBox.Dock property set to fill value, so sizes of CADPictureBox will be dynamically changed to fill all container area. You can switch off filling ans set the preferred sizes. So, I think previous answer was correct.What is resolution of the picture box of cadeditorcontrol... or ... what is picture box grid's resolution?
What X and Y coordinates you meant? If mouse coordinates returned by control event then please see my previous post. Please specify.X,Y co-ordinates show some value. What is unit of them? mm or inch?
Zoom in or out changes drawing scale and doesn't concerned to CADPictureBox sizes.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support