ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreateRectangle Method |
Creates Rectangle annotation with specified properties.
CreateRectangle(
Rect As IGRectangle,
FillColor As IGPixel,
Border As IGArtXBorder,
Opacity As Long) As IGArtXRectangle
Name | Description |
---|---|
Rect | Rectangle object that contains coordinates and dimensions for the annotation to be created. |
FillColor | Pixel object that contains color that entire area of the annotation will be filled with. |
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. |
New instance of IGArtXRectangle Object.
N/A