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

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
Leo Rozing
Posts: 1
Joined: 20 Dec 2011, 13:33

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

Post by Leo Rozing » 20 Dec 2011, 13:43

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

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

Post by support » 20 Dec 2011, 17:04

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.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply