GetShapeText
MethodGetShapeText (Method)
Returns the text of a ShapeText object with a specific handle
Syntax:
Function GetShapeText(hTextShape As Integer, sFontName As String, fBold As Boolean, fItalic As Boolean, fUnderline As Boolean, fStrikeOut As Boolean, lCharSet As Integer) As String
The GetShapeText method syntax consists of the following:
Parameter |
Data Type |
Description |
hTextShape |
Integer |
The ShapeText object's handle |
sFontName |
String |
A String expression that defines the font name of the object |
fBold |
Boolean |
True when the text is bold |
fItalic |
Boolean |
True when the text is italic |
fUnderline |
Boolean |
True when the text is underlined |
fStrikeOut |
Boolean |
True when the text is strikethrough |
lCharSet |
Integer |
The font character set number |
Return value:
String - The text of the object