ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreateText Method |
Creates auxiliary objects that are used with ArtX, such as IGArtXText Object.
CreateText(
pRect As IGRectangle,
Text As String,
TextColor As IGPixel,
TextType As enumIGArtXTextType,
FillColor As IGPixel,
Border As IGArtXBorder,
BorderShading As Boolean,
Opacity As Long,
Font As IGArtXFont,
Pin As IGArtXPin,
Callout As IGArtXCallout) As IGArtXText
Name | Description |
---|---|
pRect | IGRectangle Object rectangle object that contains coordinates and dimensions for the annotation to be created. |
Text | String that is to be drawn on the annotation. |
TextColor | IGPixel Object pixel object that contains a color for the text. |
TextType | Type of the text. An enumIGArtXTextType Enumeration value. |
FillColor | IGPixel Object pixel object that contains color that entire area of the annotation will be filled with. |
Border | Contains line properties of the annotation, such as line style, line width, color. See IGArtXBorder Object for more information. |
BorderShading | If True, annotation has shading; if False, annotation does not have shading. |
Opacity | Opacity value for the annotation. |
Font | Contains font properties for new annotation; See IGArtXFont Object for more information. |
Pin | Contains pin properties of the annotation. See IGArtXPin Object for more information. |
Callout | Contains callout properties of the annotation. See IGArtXCallout Object for more information. |
New instance of IGArtXText Object.
N/A