Skip to main content
A newer version of this page is available. .

TextAnnotation.Lines Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public string[] Lines { get; set; }

Property Value

Type Description
String[]

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

Remarks

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