Inserts text.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Insert( int offset, string text, AnchorMovementType defaultAnchorMovementType )
Public Sub Insert ( _ offset As Integer, _ text As String, _ defaultAnchorMovementType As AnchorMovementType _ )
public: virtual void Insert( int offset, String^ text, AnchorMovementType defaultAnchorMovementType ) sealed
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