This property set the units of measurement at which the graduation is displayed.
[Visual Basic]   imagekitcontrolname.Grad [= UnitConstants ]
[Visual C++]     [long = ]imagekitcontrolname.GetGrad()
                 imagekitcontrolname.SetGrad(long Val)
[VB.NET]   imagekitcontrolname.Grad [= ImageKit10(A)Lib.UnitConstants ]
[C#.NET]   imagekitcontrolname.Grad [= 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 Grad property sets a graduation along the left and top of the ImageKit Control. When this property is set to 0, the graduation will not be displayed. Values of 1, 2, or 3 will set the graduation units to pixels, millimeters, or inches respectively.

Note: The Grad property does not support millimeter units so if 2 (ikmm) is set, the graduation 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