AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : DrawPolygon Method |
The RGB color of the circles outline. You can use the RGB function to specify the color.
Note: Value specified must be in a valid OLE_COLOR range.
How many points there are to the polygon. Thus it is also the number of the coordinates (x, y pairs) the function will use when generating the polygon. Coordinate pairs beyond the numPoints will be ignored but must be passed regardless.
Valid values are three through six.
Visual Basic |
---|
Public Sub DrawPolygon( _ ByVal x1 As Long, _ ByVal y1 As Long, _ ByVal x2 As Long, _ ByVal y2 As Long, _ ByVal x3 As Long, _ ByVal y3 As Long, _ ByVal x4 As Long, _ ByVal y4 As Long, _ ByVal x5 As Long, _ ByVal y5 As Long, _ ByVal x6 As Long, _ ByVal y6 As Long, _ ByVal penColor As OLE_COLOR, _ ByVal numPoints As Long _ ) |
The RGB color of the circles outline. You can use the RGB function to specify the color.
Note: Value specified must be in a valid OLE_COLOR range.
How many points there are to the polygon. Thus it is also the number of the coordinates (x, y pairs) the function will use when generating the polygon. Coordinate pairs beyond the numPoints will be ignored but must be passed regardless.
Valid values are three through six.
Polygons are many-sided figures, with sides that are line segments. To fill a polygon, set the DrawFillColor and DrawFillStyle properties of the object on which the pie is drawn.
The width of the line used to draw the polygon depends on the setting of the DrawWidth property. The way the polygon is drawn on the background depends on the setting of the DrawMode and DrawStyle properties.
This method draws into the control's DIB.