Export (0) Print
Expand All

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

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".

ExceptionCondition
FormatException

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.


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


.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

ADD
Show:
© 2014 Microsoft