| 
BookmarksNavigator
InsertText Method (String, Boolean)
  | 
 Inserts the text range to current position.
 Namespace:
 Spire.Doc.Documents
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public ITextRange InsertText(
	string text,
	bool saveFormatting
)
 
Public Function InsertText ( 
	text As String,
	saveFormatting As Boolean
) As ITextRange
 
public:
ITextRange^ InsertText(
	String^ text, 
	bool saveFormatting
)
 
member InsertText : 
text : string * 
saveFormatting : bool -> ITextRange 
 
 
 
Parameters
 
- 
text
 
- 
 Type:
 
System
String
 
 The text.
- 
saveFormatting
 
- 
 Type:
 
System
Boolean
 
 if it is save formatting, set to
 
true
 
 .
Return Value
 
 Type:
 
ITextRange
 
 
 See Also
See Also