Remove()

FontFallBackRule::Remove(System::String) method

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

void Aspose::Slides::FontFallBackRule::Remove(System::String fontName) override

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");
// Remove Tahoma from the list.
newRule->Remove(u"Tahoma");

See Also