FontFallBackRuleToArray Method (Int32, Int32)

Creates and returns an array with all FallBack fonts from the specified range in list.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.5.0.0 (21.5)
Syntax
public string[] ToArray(
	int startIndex,
	int count
)

Parameters

startIndex
Type: SystemInt32
An index of a first font to add.
count
Type: SystemInt32
A number of fonts to add.

Return Value

Type: String
Array of String

Implements

IFontFallBackRuleToArray(Int32, Int32)
Examples
[C#]
// Create a rule contains a list of fonts.
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho, MS Gothic, Tahoma, Times New Roman");

// Get a last two font names as array.
string[] fontNames = newRule.ToArray(2,2);
See Also