Remove()

IFontFallBackRule::Remove(System::String) method

Removes the first occurrence of a specific FallBack font from the list.

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

Arguments

ParameterTypeDescription
fontNameSystem::StringThe font’s name to remove from the list.

Remarks

// Create a rule contains a list of fonts.
auto newRule = MakeObject<FontFallBackRule>(0x3040, 0x309F, u"MS Mincho, MS Gothic, Tahoma, Times New Roman");
//Removing of Tahoma from list
newRule->Remove(u"Tahoma");

See Also