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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft