Hello,
how can I get the positions of the rectangles shown.
background:
When I zoom,
I want to leave the positions of the rectangles show.
(Not the original size / position)
How do I do that?
Sascha
Rectangle Position
Moderators: SDS, support, admin
Re: Rectangle Position
Hello.
Unfortunately the question isn't clear to us, sorry. Please specify if you need CAD coordinates of control visible area rectangle or screen coordinates of rectangular entity or possible something else.
Alexander.
Unfortunately the question isn't clear to us, sorry. Please specify if you need CAD coordinates of control visible area rectangle or screen coordinates of rectangular entity or possible something else.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Rectangle Position
Thanks for the answer.
I have lots of rectangles.
if I zoom in, the rectangles are larger (at least it seems so).
And these new coordinates of the rectangle I would like to retrieve.
Do they understand me now?
Is that possible? And you can show me an example?
I have lots of rectangles.
if I zoom in, the rectangles are larger (at least it seems so).
And these new coordinates of the rectangle I would like to retrieve.
Do they understand me now?
Is that possible? And you can show me an example?
Re: Rectangle Position
Hello.
Zooming doesn't change entity CAD coordinates (on drawing). Screen coordinates (on control) changed. You can apply GetPoint method for calculating screen coordinates from CAD coordinates. The method accessible from CADViewX.CADImage class in pro version of library. CADViewX.DXFImage class contains the same method in Lite version.
Entities can be accessed programmatically via CADViewX->CADImage->Converter->Sections(CADViewLib::TxConvSection::csEntities) group. Please use DXFImage instead CADImage for the Lite version.
Alexander.
Zooming doesn't change entity CAD coordinates (on drawing). Screen coordinates (on control) changed. You can apply GetPoint method for calculating screen coordinates from CAD coordinates. The method accessible from CADViewX.CADImage class in pro version of library. CADViewX.DXFImage class contains the same method in Lite version.
Entities can be accessed programmatically via CADViewX->CADImage->Converter->Sections(CADViewLib::TxConvSection::csEntities) group. Please use DXFImage instead CADImage for the Lite version.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support