TextAnnotation.Lines Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public string[] Lines { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property Lines As String()

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