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.
See Also
Reference
ITextRange Interface
ITextRange Members