InsertText Method (String, Style, Boolean)

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
Insert text into current selection position (with predefined style)

Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.9.3.0 (2.9.3.0)

Syntax

C#
public virtual void InsertText(
	string text,
	Style style,
	bool jumpToCaret
)
Visual Basic
Public Overridable Sub InsertText ( _
	text As String, _
	style As Style, _
	jumpToCaret As Boolean _
)
Visual C++
public:
virtual void InsertText(
	String^ text, 
	Style^ style, 
	bool jumpToCaret
)

Parameters

text
Type: System..::..String
style
Type: FastColoredTextBoxNS..::..Style
jumpToCaret
Type: System..::..Boolean

See Also