[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ITextFrame.TextRange

TextRange Property

TextRange

Returns the ITextRange object that represents the text in the object.

Use the returned text range to read or modify the shape text and its formatting.

Declaration
ITextRange TextRange { get; }
ReadOnly Property TextRange As ITextRange
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 120, 60);
ITextFrame textFrame = shape.TextFrame;
ITextRange textRange = textFrame.TextRange;
textRange.Text = "Hello";