FontFamilyMap.Unicode Property


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

 property System::String ^ Unicode { System::String ^ get(); void set(System::String ^ value); };
public string Unicode { get; set; }
member this.Unicode : string with get, set
Public Property Unicode As String

Property Value

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


Unicode range not valid.


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


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.

Applies to