UnicodeString Property

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

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

Property Value

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.

Remarks

Glyphs does not have a content property (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. Of these, using UnicodeString is probably the most common, because it is the easiest to capture from the output of applications that are used to compose text. You can use UnicodeString to specify the basic glyph information and then can adjust values in Indices to refine the advance and offset spacings within the set of glyphs

Applies To

Glyphs

See Also

Text and Fonts Overview
TextBlock