See Also Examples Applies To
Draws a grid into the native image.
Syntax
object.DrawGrid (nSrcX, nSrcY, nWidth, nHeight, nXStep, nYStep, nPenWidth, nColor)
The DrawGrid syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nSrcX | Required. Long. |
| nSrcY | Required. Long. |
| nWidth | Required. Long. Width of the grid in pixel. |
| nHeight | Required. Long. Height of the grid in pixel. |
| nXStep | Required. Long. Space in pixel between each columns. |
| nYStep | Required. Long. Space in pixel between each rows. |
| nPenWidth | Required. Long. With of the pen (in pixel) used to draw the grid. |
| nColor | Optional. Long. Default value is Black. ARGB long color value of the grid. |
Returns
Remarks
The ImagingStatus constants are defined HERE
Category
Draw (Lines and Shapes)