AvalonEdit
Insert Method (offset, text, defaultAnchorMovementType)
NamespacesICSharpCode.AvalonEdit.DocumentIDocumentInsert(Int32, String, AnchorMovementType)
Inserts text.
Declaration Syntax
C#Visual BasicVisual C++
void Insert(
	int offset,
	string text,
	AnchorMovementType defaultAnchorMovementType
)
Sub Insert ( _
	offset As Integer, _
	text As String, _
	defaultAnchorMovementType As AnchorMovementType _
)
void Insert(
	int offset, 
	String^ text, 
	AnchorMovementType defaultAnchorMovementType
)
Parameters
offset (Int32)
The offset at which the text is inserted.
text (String)
The new text.
defaultAnchorMovementType (AnchorMovementType)
Anchors positioned exactly at the insertion offset will move according to the anchor's movement type. For AnchorMovementType.Default, they will move according to the movement type specified by this parameter. The caret will also move according to the defaultAnchorMovementType parameter.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238