[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapes.AddTextEffectToCell

AddTextEffectToCell Method

AddTextEffectToCell(PresetTextEffect, string, string, double, bool, bool, int, int)

Creates an IShape object that represents the new text effect object.

Declaration
IShape AddTextEffectToCell(PresetTextEffect textEffect, string text, string fontName, double fontSize, bool bold, bool italic, int row, int column)
Function AddTextEffectToCell(textEffect As PresetTextEffect, text As String, fontName As String, fontSize As Double, bold As Boolean, italic As Boolean, row As Integer, column As Integer) As IShape
Parameters
Type Name Description
PresetTextEffect textEffect

The preset text effect.

string text

The text in the shape.

string fontName

The name of the font used in the shape.

double fontSize

The size (in points) of the font used in the shape.

bool bold

The font used in the shape to bold.

bool italic

The font used in the shape to italic.

int row

The row index of the upper-left corner of the shape's bounding box.

int column

The column index of the upper-left corner of the shape's bounding box.

Returns
Type Description
IShape

The created IShape object.