Skip to main content

GetMaxTextWidths Method

Obtains a copy of the array of lengths, which will be applied to each line of text in turn. If the text covers more lines than there are entries in the length array, the last entry is reused as many times as required. The maxTextWidths array overrides the MaxTextWidth property.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double[] GetMaxTextWidths()

Return Value

Double[]
The copy of max text width array

See Also

Reference

FormattedText Class
Avalonia.Media Namespace