[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.TextFrame

TextFrame Property

TextFrame

Returns the ITextFrame object that contains the text and font style properties for the specified shape.

Use the returned text frame to access and modify the shape's text content, font formatting, and text layout settings.

Declaration
ITextFrame TextFrame { get; }
ReadOnly Property TextFrame As ITextFrame
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
ITextFrame textFrame = shape.TextFrame;
textFrame.TextRange.Text = "Sales";
textFrame.TextRange.Font.Bold = true;