Article | 60001204 |
Type | HowTo |
Product | Engine |
Version | 6 |
Date Added | 8/19/2010 |
Submitted by | Holloway, Keith D |
Keywords |
VectorDraw has limits for maximum and minimum PixelSize values.
PixelSize represent the result of: ViewSize in Drawing Units / Height of active Render Viewport in pixels.
You can control these values by using
VectorDraw.Geometry.Globals.MaximunPixelSize which by default is 1.0e+09
and
VectorDraw.Geometry.Globals.DefaultPixelEquality which by default is 1.0E-10d
example Zooming and paning with drawings with very large values of extends:
Globals.MaximunPixelSize = 1.0e+18;
Globals.DefaultPixelEquality = 1.0d / Globals.MaximunPixelSize;
//Also its better to change the following values also
Globals.Default3DMatrixEquality = Globals.DefaultPixelEquality;
Globals.DefaultScaleEquality = Globals.DefaultPixelEquality;
Globals.DefaultVectorEquality = Globals.DefaultPixelEquality;