Regarding Scaling
Posted: 23 Oct 2019, 12:47
Hello Team,
What is MMToPixelX and how to calculate Real Scale?
What is MMToPixelX and how to calculate Real Scale?
CADSoftTools - AutoCAD DWG DXF HPGL (PLT) SVG CGM STEP IGES STL SAT viewers, converters and developer tools. Delphi and C# source code.
https://cadsofttools.com/forum/
Could you please elaborate on this?VijayKumar wrote: ↑23 Oct 2019, 14:08How can I map it for different Zoom Level and Different images?
Coordinate system of CAD drawing doesn’t use millimeters or any other real world units, it operates with decimal CAD drawing units. CAD units are converted to real world units when you print the drawing on paper (millimeters) or render it on screen (pixels).VijayKumar wrote: ↑23 Oct 2019, 14:40if i draw 50 Pixel Line ,How can I map it to cad measurement(millimeter)?
You may get a two-dimensional screen point (X, Y) from a CAD point using a CADImage.GetPoint method.