Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution метод
Содержание
[
Скрывать
]IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Aspose::Font::Sources::FontDefinition>, System::SharedPtr<Aspose::Font::Sources::FontDefinition>) method
Регистрировать замену для шрифтов, представленных объектами FontDefinition. Этот метод был добавлен из‑за необходимости регистрировать “неявные” замены, которые находятся в объекте PdfFont.
virtual void Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Aspose::Font::Sources::FontDefinition> oldFontDef, System::SharedPtr<Aspose::Font::Sources::FontDefinition> newFontDef)=0
| Параметр | Тип | Описание |
|---|---|---|
| oldFontDef | System::SharedPtr<Aspose::Font::Sources::FontDefinition> | Font определение оригинального шрифта |
| newFontDef | System::SharedPtr<Aspose::Font::Sources::FontDefinition> | Font определение нового шрифта |
См. также
- Typedef SharedPtr
- Class IFontSubstitutionRegistrator
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>, System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>, System::SharedPtr<Engine::Data::ITrailerable>) method
Регистрировать замену для переданных шрифтов. Шрифты передаются как объекты IPdfFont в этом методе.
virtual void Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont> oldFont, System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont> newFont, System::SharedPtr<Engine::Data::ITrailerable> trailerable)=0
| Параметр | Тип | Описание |
|---|---|---|
| oldFont | System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont> | оригинальный шрифт |
| newFont | System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont> | новый шрифт, заменяющий оригинальный шрифт |
| trailerable | System::SharedPtr<Engine::Data::ITrailerable> | trailerable |
См. также
- Typedef SharedPtr
- Class IFontSubstitutionRegistrator
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++