AddTextEffectToCell Method
Creates an
IShape object that represents the new text effect object.
'Declaration
Function AddTextEffectToCell( _
ByVal As PresetTextEffect, _
ByVal As String, _
ByVal As String, _
ByVal As Double, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal column As Integer _
) As IShape
'Usage
Dim instance As IShapes
Dim textEffect As PresetTextEffect
Dim text As String
Dim fontName As String
Dim fontSize As Double
Dim bold As Boolean
Dim italic As Boolean
Dim row As Integer
Dim column As Integer
Dim value As IShape
value = instance.AddTextEffectToCell(textEffect, text, fontName, fontSize, bold, italic, row, column)
Parameters
- textEffect
- The preset text effect.
- text
- The text in the shape.
- fontName
- The name of the font used in the shape.
- fontSize
- The size (in points) of the font used in the shape.
- bold
- The font used in the shape to bold.
- italic
- The font used in the shape to italic.
- row
- The row index of the upper-left corner of the shape's bounding box.
- column
- The column index of the upper-left corner of the shape's bounding box.
Return Value
The created
IShape object.