FastColoredTextBox.CheckStylesBufferSize Method

T3000 CrossPlatform

FastColoredTextBoxCheckStylesBufferSize Method

[This is preliminary documentation and is subject to change.]

Checks if the styles buffer has enough space to add one more element. If not, an exception is thrown. Otherwise, the index of a free slot is returned.

Namespace:  FastColoredTextBoxNS
Assembly:  FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public int CheckStylesBufferSize()
Public Function CheckStylesBufferSize As Integer

Dim instance As FastColoredTextBox
Dim returnValue As Integer

returnValue = instance.CheckStylesBufferSize()

Return Value

Type: Int32
Index of free styles buffer slot
Exceptions
ExceptionCondition
ExceptionIf maximum count of styles is exceeded
See Also