Eyeshot 10 WPF API Reference
Grid Constructor(Point2D,Point2D,Double,Plane,Color,Color,Boolean,Boolean,Boolean,Boolean,Int32,Int32)

WPF Assembly > devDept.Eyeshot Namespace > Grid Class > Grid Constructor : Grid Constructor(Point2D,Point2D,Double,Plane,Color,Color,Boolean,Boolean,Boolean,Boolean,Int32,Int32)
Minimum 2D grid point
Maximum 2D grid point
Grid step
Grid plane
Color used to draw lines
Color used to draw axes
If true, the grid is resized automatically.
Visibility status
If true, the grids is drawn always behind the geometry
If true, the grid real step is a multiple of the Step to keep the number of lines between MinLines and MaxLines
If AutoStep is true, defines the Minimum number of lines
If AutoStep is true, defines the Maximum number of lines
Standard constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal min As Point2D, _
   ByVal max As Point2D, _
   ByVal step As Double, _
   ByVal plane As Plane, _
   ByVal lineColor As Color, _
   ByVal axisColor As Color, _
   ByVal autoSize As Boolean, _
   ByVal visible As Boolean, _
   ByVal alwaysBehind As Boolean, _
   ByVal autoStep As Boolean, _
   ByVal minNumberOfLines As Integer, _
   ByVal maxNumberOfLines As Integer _
)
public Grid( 
   Point2D min,
   Point2D max,
   double step,
   Plane plane,
   Color lineColor,
   Color axisColor,
   bool autoSize,
   bool visible,
   bool alwaysBehind,
   bool autoStep,
   int minNumberOfLines,
   int maxNumberOfLines
)

Parameters

min
Minimum 2D grid point
max
Maximum 2D grid point
step
Grid step
plane
Grid plane
lineColor
Color used to draw lines
axisColor
Color used to draw axes
autoSize
If true, the grid is resized automatically.
visible
Visibility status
alwaysBehind
If true, the grids is drawn always behind the geometry
autoStep
If true, the grid real step is a multiple of the Step to keep the number of lines between MinLines and MaxLines
minNumberOfLines
If AutoStep is true, defines the Minimum number of lines
maxNumberOfLines
If AutoStep is true, defines the Maximum number of lines
See Also

Reference

Grid Class
Grid Members
Overload List