|
GetShapeText (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
|
Is the ShapeText object's handle
|
sFontName
|
String
|
A String expression that defines the font name of the object
|
fBold
|
Boolean
|
A Boolean expression that if it is True then the text is bold
|
fItalic
|
Boolean
|
A Boolean expression that if it is True then the text is italic
|
fUnderline
|
Boolean
|
A Boolean expression that if it is True then the text is underlined
|
fStrikeOut
|
Boolean
|
A Boolean expression that if it is True then the text is strikethrough
|
lCharSet
|
Integer
|
Is the font character set number
|
Return value:
String - Is the text of the object
Example
|