Page 1 of 1

GetPoint only give correct values at certain zoom level...

Posted: 20 Dec 2011, 13:43
by Leo Rozing
Dear supporter,

I just upgraded the CADImport DLL to the latest version (from 6.x -> 7.x) so I was able to use VS 2010.
My application works fine except that initially the GetPoint gives bogus values for certain scaling (from scale 1.0 - ~5.0) it gives fixed values back no matter what the value is of the DPoint) ... when I zoom in enough (Scale > ~5.0) then it gives correct values?!?

GetRealPoint does give me the correct value ...

Please can you help me with this issue?

With regards,

Leo Rozing

Re: GetPoint only give correct values at certain zoom level.

Posted: 20 Dec 2011, 17:04
by support
Hello Leo.
CADImage object must be drawn without using double buffering. Please set CADImage.UseDoubleBuffering value to false then invalidate a control to use the CADImage.GetPoint method. Double buffering switches off automatically on certain zoom level.

Alexander.