ToArray()
Contents
[
Hide
]FontFallBackRule::ToArray() method
Creates and returns an array with all FallBack fonts for this rule.
System::ArrayPtr<System::String> Aspose::Slides::FontFallBackRule::ToArray() override
Return Value
Array of System::String
Remarks
// Create a rule contains a list of fonts.
auto newRule = MakeObject<FontFallBackRule>(0x3040, 0x309F, u"MS Mincho, MS Gothic, Tahoma, Times New Roman");
// Get all font names as array.
ArrayPtr<String> fontNames = newRule->ToArray();
FontFallBackRule::ToArray(int32_t, int32_t) method
Creates and returns an array with all FallBack fonts from the specified range in list.
System::ArrayPtr<System::String> Aspose::Slides::FontFallBackRule::ToArray(int32_t startIndex, int32_t count) override
Arguments
Parameter | Type | Description |
---|---|---|
startIndex | int32_t | An index of a first font to add. |
count | int32_t | A number of fonts to add. |
Return Value
Array of System::String
Remarks
// Create a rule contains a list of fonts.
auto newRule = MakeObject<FontFallBackRule>(0x3040, 0x309F, u"MS Mincho, MS Gothic, Tahoma, Times New Roman");
// Get a last two font names as array.
ArrayPtr<String> fontNames = newRule->ToArray(2, 2);
See Also
- Typedef ArrayPtr
- Class String
- Class FontFallBackRule
- Namespace Aspose::Slides
- Library Aspose.Slides