LcdCharacterEncodingFactory.SpecialLettersForCulture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the set of special characters required for a given culture/language. This may include diacritics (ä, ö, ø), currency signs (€) or similar chars. If any of the returned characters are not found in the ROM map, CreateLetter(Char, String) is called to obtain the pixel representation of the given character. A maximum of 8 extra characters can be added to the ones in the ROM.
protected virtual string SpecialLettersForCulture (System.Globalization.CultureInfo culture, System.Collections.Generic.Dictionary<char,byte> characterMapping);
abstract member SpecialLettersForCulture : System.Globalization.CultureInfo * System.Collections.Generic.Dictionary<char, byte> -> string
override this.SpecialLettersForCulture : System.Globalization.CultureInfo * System.Collections.Generic.Dictionary<char, byte> -> string
Protected Overridable Function SpecialLettersForCulture (culture As CultureInfo, characterMapping As Dictionary(Of Char, Byte)) As String
Parameters
- culture
- CultureInfo
Culture to support
- characterMapping
- Dictionary<Char,Byte>
The character map, pre-loaded with the characters from the character ROM. This may be extended by explicitly adding direct mappings where an alternative is allowed (i.e. mapping capital diacritics to normal capital letters É -> E, when there's not enough room to put É into character RAM.
Returns
A string with the set of special characters for a language, i.e. "äöü߀ÄÖÜ" for German