[Visual
Basic] imagekitcontrolname.Grid
[= UnitConstants ]
[Visual
C++] [long =
]imagekitcontrolname.GetGrid()
imagekitcontrolname.SetGrid(long Val)
imagekitcontrolname.SetGrid(long Val)
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 (millimeters) 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.