IFontFallBackRuleToArray Method

Creates and returns an array with all FallBack fonts for this rule.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: (21.12)
string[] ToArray()

Return Value

Type: String
Array of String
// Create a rule contains a list of fonts.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho, MS Gothic, Tahoma, Times New Roman");

//Get all font-names as array
string[] fontNames = newRule.ToArray();
See Also