Back to Devexpress

SyntaxHighlightToken(Int32, Int32, SyntaxHighlightProperties) Constructor

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-syntaxhighlighttoken-dot-ctor-x28-system-dot-int32-system-dot-int32-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-syntaxhighlightproperties-x29.md

latest2.1 KB
Original Source

SyntaxHighlightToken(Int32, Int32, SyntaxHighlightProperties) Constructor

Initializes a new instance of the SyntaxHighlightToken class with the specified settings.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public SyntaxHighlightToken(
    int start,
    int length,
    SyntaxHighlightProperties properties
)
vb
Public Sub New(
    start As Integer,
    length As Integer,
    properties As SyntaxHighlightProperties
)

Parameters

NameTypeDescription
startInt32

An integer that is the start position of a document range to which the token refers.

| | length | Int32 |

An integer that is the length of the document range to which the token refers.

| | properties | SyntaxHighlightProperties |

A SyntaxHighlightProperties instance containing format settings used to highlight the text in a range.

|

See Also

SyntaxHighlightToken Class

SyntaxHighlightToken Members

DevExpress.XtraRichEdit.API.Native Namespace