FontFallBackRule

FontFallBackRule(uint, uint, string)

Erstellt eine neue Instanz.

public FontFallBackRule(uint startIndex, uint endIndex, string fontNames)
ParameterTypBeschreibung
startIndexUInt32Startindex des Unicode-Bereichs
endIndexUInt32Endindex des Unicode-Bereichs
fontNamesStringName oder Namen der Schriftart (durch Komma getrennt) für FallBack

Beispiele

[C#]
// Neue Instanz von FantFallBackRule mit einer Schriftart erstellen.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho");

// Neue Instanz von FantFallBackRule mit mehreren Schriftarten erstellen.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho, MS Gothic, Tahoma");

Siehe auch


FontFallBackRule(uint, uint, string[])

Erstellt eine neue Instanz.

public FontFallBackRule(uint startIndex, uint endIndex, string[] fontNames)
ParameterTypBeschreibung
startIndexUInt32Startindex des Unicode-Bereichs
endIndexUInt32Endindex des Unicode-Bereichs
fontNamesString[]Name oder Namen der Schriftart (durch Komma getrennt) für FallBack

Beispiele

[C#]
// Neue Instanz von FantFallBackRule mit zwei Schriftarten erstellen
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, new string[] { "MS Mincho", "MS Gothic"});

// Neue Instanz von FantFallBackRule mit mehreren Schriftarten erstellen.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, new string[] { "MS Gothic", "Tahoma, Times New Roman" });

Siehe auch