GetSubstitutions()

IFontsManager::GetSubstitutions() method

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

virtual System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<FontSubstitutionInfo>>> Aspose::Slides::IFontsManager::GetSubstitutions()=0

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