'Declaration Function AddTextEffectToCell( _ ByVal textEffect As PresetTextEffect, _ ByVal text As String, _ ByVal fontName As String, _ ByVal fontSize As Double, _ ByVal bold As Boolean, _ ByVal italic As Boolean, _ ByVal row 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.