Skip to main content

TextAnnotation.Lines Property

Gets or sets the lines of text within a multiline annotation.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.1.dll

NuGet Package: DevExpress.Charts


public string[] Lines { get; set; }

Property Value

Type Description

An array of String objects containing the text of the annotation.


The Lines property specifies the array of lines displayed by a multiline annotation. The number of lines matches the number of elements in the array. To access all the text at the same time, you can use the inherited TextAnnotation.Text property. Here text lines are separated by line feed and carriage return characters (“\r\n”).

You can use HTML tags to format the Lines of text. For detailed information, see HTML Text Formatting.

See Also