Hello,
We are building an .dwg viewer for our company with the use of the CADImageDLL. Everything works great so far, however there is one function which we like to use but we can get to work properly. We want to crop the image in such a way that the white spaces around the borders of the drawing do not show. We asume the function GETExtendsCAD does this (in Autocad the term "extends" stands for this function) by returning a rectangle of the area where the actual drawing is. However, the function returns a rectangle with a heigth and width which does not relate to the actual width and height of this area if we measure it in Autocad.
We used the folowing C# code:
FRect fr = new FRect();
DLLwrap.GetExtentsCAD(this.CADFile, ref fr);
If we look at the difference between fr.Left and fr.Right, we get a value of something like 3.5 where in Autocad the width of the drawing is something like 400.
Are we correct in our thinking about the use of this function?
