AddFallBackFonts()

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

ParameterTypeDescription
fontNameSystem::StringFont’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

ParameterTypeDescription
fontNamesSystem::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