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)
- C#
- VB
- F#
public double[] GetMaxTextWidths()
Public Function GetMaxTextWidths As Double()
member GetMaxTextWidths : unit -> float[]
Return Value
Double[]
The copy of max text width array