Draws a grid on a GdPicture image.
public GdPictureStatus DrawGrid( int ImageID, int DstLeft, int DstTop, int Width, int Height, int HorizontalStep, int VerticalStep, int PenWidth, Color PenColor );
Public Function DrawGrid( ByVal ImageID As Integer, ByVal DstLeft As Integer, ByVal DstTop As Integer, ByVal Width As Integer, ByVal Height As Integer, ByVal HorizontalStep As Integer, ByVal VerticalStep As Integer, ByVal PenWidth As Integer, ByVal PenColor As Color ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
DstLeft |
Specifies the x-coordinate of the starting point of the grid. |
|
DstTop |
Specifies the y-coordinate of the starting point of the grid. |
|
Width |
Width of the grid in pixel. |
|
Height |
Height of the grid in pixel. |
|
HorizontalStep |
Space in pixel between each columns. |
|
VerticalStep |
Space in pixel between each rows. |
|
PenWidth |
With of the pen (in pixel) used to draw the grid. |
|
PenColor |
Color Object. You can build a Color Object using the ARGB() function. Pen color used to draw the grid. |
A member of the GdPictureStatus enumeration.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|