See Also Examples Applies To
Draws a grid into the native GdPicture image.
Syntax
object.DrawGrid (nDstLeft, nDstTop, nWidth, nHeight, nHorizontalStep, nVerticalStep, nPenWidth, nColorARGB)
The DrawGrid syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nDstLeft | Required. Long. |
| nDstTop | Required. Long. |
| nWidth | Required. Long. Width of the grid in pixel. |
| nHeight | Required. Long. Height of the grid in pixel. |
| nHorizontalStep | Required. Long. Space in pixel between each columns. |
| nVerticalStep | Required. Long. Space in pixel between each rows. |
| nPenWidth | Required. Long. With of the pen (in pixel) used to draw the grid. |
| nColorARGB | Optional. Long. Default value is Black. 32-bit Color (ARGB) of the grid. |
Returns
Long. GdPictureStatus
Category
Draw (Lines and Shapes)