GetSubstitutions()

FontsManager::GetSubstitutions() method

Gets the information about fonts that will be replaced on the presentation’s rendering.

System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Slides::FontSubstitutionInfo>>> Aspose::Slides::FontsManager::GetSubstitutions() override

Return Value

Collection of all fonts substitution FontSubstitutionInfo.

Remarks

auto pres = System::MakeObject<Presentation>(u"pres.pptx");

for (auto fontSubstitution : System::IterateOver(pres->get_FontsManager()->GetSubstitutions()))
{
    System::Console::WriteLine(u"{0} -> {1}", fontSubstitution->get_OriginalFontName(), fontSubstitution->get_SubstitutedFontName());
}

See Also