SetMaxTextWidths Method
Sets 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 void SetMaxTextWidths(
double[] maxTextWidths
)
Public Sub SetMaxTextWidths (
maxTextWidths As Double()
)
member SetMaxTextWidths :
maxTextWidths : float[] -> unit
Parameters
- Double[]
- The max text width array