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

'Declaration
Public Property Unicode As String
<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 ex As FormatException
				' Handle exception
			End Try

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft