IndexedGlyphRun.TextSourceLength Property


Gets the text source character length that corresponds to the IndexedGlyphRun object.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public int TextSourceLength { get; }

Property Value

Type: System.Int32

An Int32 value that represents the length of the text source character.

The value of the TextSourceLength property is not necessarily equal to the character count of the corresponding GlyphRun.

.NET Framework
Available since 3.0
Return to top