TextCharacters Constructor (Char*, Int32, TextRunProperties)

 

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

This API is not CLS-compliant.

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

[SecurityCriticalAttribute]
[CLSCompliantAttribute(false)]
public unsafe TextCharacters(
	char* unsafeCharacterString,
	int length,
	TextRunProperties textRunProperties
)

Parameters

unsafeCharacterString
Type: System.Char*

Pointer to character string.

length
Type: System.Int32

The length of the characters to use in unsafeCharacterString.

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

The TextRunProperties value to use for the characters in unsafeCharacterString.

.NET Framework
Available since 3.0
Return to top
Show: