AddStyle Method

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
Add new style

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

Syntax

C#
public int AddStyle(
	Style style
)
Visual Basic
Public Function AddStyle ( _
	style As Style _
) As Integer
Visual C++
public:
int AddStyle(
	Style^ style
)

Parameters

style
Type: FastColoredTextBoxNS..::..Style

Return Value

Layer index of this style

See Also