ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreatePolygon Method |
Creates Polygon annotation with specified properties.
CreatePolygon(
Points As IGPointArray,
Border As IGArtXBorder,
Opacity As Long,
FillColor As IGPixel) As IGArtXPolygon
Name | Description |
---|---|
Points | Contains coordinates for all points in polygon. |
Border | Contains properties for the border of the annotation, such as line style, line width, color. See IGArtXBorder Object for more information. |
Opacity | Opacity value for the annotation opacity value for the annotation. |
FillColor | Pixel object that contains color that entire area of the annotation will be filled with. |
New instance of IGArtXPolygon Object.
N/A