ChangeShapeText
MethodChangeShapeText (Method)
Changes the text of a ShapeText object with a specific handle and returns a new handle
Syntax:
Function ChangeShapeText(hTextShape As Integer, sNewText As String, sFontName As String, fBold As Boolean, fItalic As Boolean, fUnderline As Boolean, fStrikeOut As Boolean, lCharSet As Integer) As Integer
The ChangeShapeText method syntax consists of the following:
Parameter |
Data Type |
Description |
hTextShape |
Integer |
The handle of the ShapeText |
sNewText |
String |
The new text |
sFontName |
String |
The font name for the new text |
fBold |
Boolean |
True when the new text is bold |
fItalic |
Boolean |
True when the new text is italic |
fUnderline |
Boolean |
True when the new text is underlined |
fStrikeOut |
Boolean |
True when the new text is strikethrough |
lCharSet |
Integer |
The character set number for the new text |
Return value:
Integer - An Avax handle on success, zero on error.