Compartir a través de


UnicodeString

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the string that represents the Unicode string for the Glyphs object.

<object UnicodeString="unicodeString"  .../>
value = object.UnicodeString
object.UnicodeString = value

Property Value

Type: string

A string value that represents the Unicode string with XAML-compatible encoding.

This property is read/write. The default value is an empty string.

Managed Equivalent

UnicodeString

Remarks

The Glyphs object does not have a content property (that is, you do not define the glyphs by declaring text as the inner text of a Glyphs object element). Instead, you specify the individual glyphs through either UnicodeString or Indices. Using UnicodeString is probably the most common scenario, because it is easiest to capture a Unicode string from the output of various applications that are used to compose text. You can use UnicodeString to specify the basic glyph information, and then adjust values in Indices to refine the advance and offset spacings within the set of glyphs

Applies To

Glyphs

See Also

Reference