Documents for Excel .NET Edition | GCDocuments
GrapeCity.Documents.Excel.Drawing Namespace / ITextRange Interface / Add Method
The new text.
The position that you want to insert.
In This Topic
    Add Method (ITextRange)
    In This Topic
    Adds text to the specified collection.
    Syntax
    ITextRange Add( 
       System.string newText,
       System.int position
    )

    Parameters

    newText
    The new text.
    position
    The position that you want to insert.

    Return Value

    The new ITextRange.
    Remarks
    This property is only used in TextRangeType.Body and TextRangeType.Paragraph. Use this property on ITextRange.Body and it will add a paragraph with a run. Use this property on ITextRange.Paragraph and it will add a run.
    See Also