TextRun.Length Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the number of characters in the text run.

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

public abstract int Length { get; }

Property Value

Type: System.Int32

An Int32 value that represents the number of characters.

.NET Framework
Available since 3.0
Return to top