Add Method (ITextRange)

Spread.Services Documentation
Add Method (ITextRange)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread.Drawing Namespace > ITextRange Interface : Add Method

The new text.
The position that you want to insert.
Adds text to the specified collection.
Syntax

- C#

    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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

ITextRange Interface
ITextRange Members

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback