| ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreateButton Method |
Creates Button annotation with specified properties.
CreateButton(
Rect As IGRectangle,
Text As String,
TextColor As IGPixel,
FillColor As IGPixel,
Opacity As Long,
Font As IGArtXFont) As IGArtXButton
| Name | Description |
|---|---|
| Rect | Rectangle object that contains coordinates and dimensions for the annotation to be created. |
| Text | String that is to be draw on the button. |
| TextColor | Pixel object that contains a color for the button text. |
| FillColor | Pixel object that contains color that entire area of the annotation will be filled with. |
| Opacity | Opacity value for the annotation. |
| Font | Contains font properties for new annotation; See IGArtXFont Object for more information. |
New instance of IGArtXButton Object.
N/A