TextCharacters Constructor (String, Int32, Int32, TextRunProperties)

 

Initializes a new instance of the TextCharacters class using a specified character substring.

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

public TextCharacters(
	string characterString,
	int offsetToFirstChar,
	int length,
	TextRunProperties textRunProperties
)

Parameters

characterString
Type: System.String

The String containing the text characters.

offsetToFirstChar
Type: System.Int32

The offset to the first character to use in characterString.

length
Type: System.Int32

The length of the characters to use in characterString.

textRunProperties
Type: System.Windows.Media.TextFormatting.TextRunProperties

The TextRunProperties value to use for the characters in characterString.

.NET Framework
Available since 3.0
Return to top
Show: