Skip to main content

GetLineIndexFromCharacterIndex Method

Definition

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

public int GetLineIndexFromCharacterIndex(
int charIndex,
bool trailingEdge
)

Parameters

  Int32
 
  Boolean
 

Return Value

Int32

See Also

Reference

TextLayout Class
Avalonia.Media.TextFormatting Namespace