Skip to main content

SetTextDecorations(TextDecorationCollection, Int32, Int32) Method

Sets or changes the text decorations

Definition​

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

public void SetTextDecorations(
TextDecorationCollection textDecorations,
int startIndex,
int count
)

Parameters​

  TextDecorationCollection
Text decorations
  Int32
The start index of initial character to apply the change to.
  Int32
The number of characters the change should be applied to.

See Also​

Reference​

FormattedText Class
SetTextDecorations Overload
Avalonia.Media Namespace