This topic has not yet been rated - Rate this topic

FontFamilyMap.Unicode Property

Gets or sets a string value representing one or more Unicode code point ranges.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
public string Unicode { get; set; }
<object Unicode="string" .../>

Property Value

Type: System.String
A String value representing Unicode code point ranges. The default value is "0000-10ffff".

Unicode range not valid.

Each Unicode code point range is represented by the first and last code point in the range, for example, "0000-00ff". The string of Unicode code point ranges is delimited by a comma, for example, "0000-00ff, 00e0-00ef".

A code page is a list of selected character codes (characters represented as code points) in a certain order. Code pages are usually defined to support specific languages or groups of languages that share common writing systems. Windows code pages contain 256 code points and are zero-based. In most code pages, the code points 0 through 127 represent the same characters. This allows for continuity and legacy code. The code points 128 through 255 differ significantly between code pages. For more information, see Encoding Support for Code Pages.

    fontFamilyMap.Unicode = "00e0-00ef, 0100-01ff";
catch (FormatException ex)
    // Handle exception

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.