AddFallBackFonts()
Contents
[
Hide
]FontFallBackRule::AddFallBackFonts(System::String) method
Adds a new font(s) to the list of FallBack fonts.
void Aspose::Slides::FontFallBackRule::AddFallBackFonts(System::String fontName) override
Arguments
Parameter | Type | Description |
---|---|---|
fontName | System::String | Font’s name or names (delimited by comma) for FallBack |
Remarks
// Create new instance of FontFallBackRule
auto newRule = MakeObject<FontFallBackRule>(0x3040, 0x309F, u"MS Mincho");
//Add a second font to the rule
newRule->AddFallBackFonts(u"MS Gothic");
//Add a third and fourth fonts to the rule
newRule->AddFallBackFonts(u"Tahoma, Times New Roman");
FontFallBackRule::AddFallBackFonts(System::ArrayPtr<System::String>) method
Adds a new fonts to the list of FallBack fonts.
void Aspose::Slides::FontFallBackRule::AddFallBackFonts(System::ArrayPtr<System::String> fontNames) override
Arguments
Parameter | Type | Description |
---|---|---|
fontNames | System::ArrayPtr<System::String> | Font’s name or names (delimited by comma) for FallBack |
Remarks
//Create new instance of FontFallBackRule
auto newRule = MakeObject<FontFallBackRule>(0x3040, 0x309F, u"MS Mincho");
//Add of another three fonts to the rule
newRule->AddFallBackFonts(MakeArray<String>({u"MS Gothic", u"Tahoma, Times New Roman"}));
See Also
- Typedef ArrayPtr
- Class String
- Class FontFallBackRule
- Namespace Aspose::Slides
- Library Aspose.Slides