This property sets the units of measurement at which the grid is displayed
[Visual Basic]   imagekitcontrolname.Grid [= UnitConstants ]
[Visual C++]     [long = ]imagekitcontrolname.GetGrid()
                 imagekitcontrolname.SetGrid(long Val)
[VB.NET]   imagekitcontrolname.Grid [= ImageKit10(A)Lib.UnitConstants ]
[C#.NET]   imagekitcontrolname.Grid [= ImageKit10(A)Lib.UnitConstants ]

* ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.

Property Value

Value Explanation
0 None
1 Pixels
2 Millimeters
3 Inches
In Visual Basic, it is also possible to use the following constants:(ikNone = 0, ikPixel = 1, ikmm = 2, ikInch = 3).

Explanation

The Grid property draws grid lines in the ImageKit Control. When this property is set to 0, the grid will not be displayed. Values of 1, 2, or 3 will set the grid units to pixels, millimeters, or inches respectively.

Note: The Grid property does not support millimeter units so if 2 (ikmm) is set, the grid will be displayed in centimeter units.

Setting this value

  This value can be set at design-time and run-time.

Retrieving this value

  This value can be retrieved at run-time.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation