AddFallBackFonts()

IFontFallBackRule::AddFallBackFonts(System::String) method

Adds a new font(s) to the list of FallBack fonts.

virtual void Aspose::Slides::IFontFallBackRule::AddFallBackFonts(System::String fontName)=0

Arguments

ParameterTypeDescription
fontNameSystem::StringFont’s name or names (delimited by comma) for FallBack

Remarks

//Create of new instance of FantFallBackRule
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");

IFontFallBackRule::AddFallBackFonts(System::ArrayPtr<System::String>) method

Adds a new fonts to the list of FallBack fonts.

virtual void Aspose::Slides::IFontFallBackRule::AddFallBackFonts(System::ArrayPtr<System::String> fontNames)=0

Arguments

ParameterTypeDescription
fontNamesSystem::ArrayPtr<System::String>Font’s name or names (delimited by comma) for FallBack

Remarks

//Create of 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