Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution método

IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Aspose::Font::Sources::FontDefinition>, System::SharedPtr<Aspose::Font::Sources::FontDefinition>) method

Registrar sustitución para fuentes que se representan mediante objetos FontDefinition. Este método se añadió por la necesidad de registrar sustituciones “implícitas” que tienen lugar en el objeto PdfFont.

virtual void Aspose::Pdf::Text::IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Aspose::Font::Sources::FontDefinition> oldFontDef, System::SharedPtr<Aspose::Font::Sources::FontDefinition> newFontDef)=0
ParámetroTipoDescripción
oldFontDefSystem::SharedPtr<Aspose::Font::Sources::FontDefinition>Font definición para la fuente original
newFontDefSystem::SharedPtr<Aspose::Font::Sources::FontDefinition>Font definición para la nueva fuente

Ver también

IFontSubstitutionRegistrator::RegistrySubstitution(System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>, System::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>, System::SharedPtr<Engine::Data::ITrailerable>) method

Registrar sustitución para fuentes proporcionadas. Las fuentes se pasan como objetos IPdfFont en este método.

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
ParámetroTipoDescripción
oldFontSystem::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>fuente original
newFontSystem::SharedPtr<Engine::CommonData::Text::Fonts::IPdfFont>nueva fuente que reemplaza una fuente original
trailerableSystem::SharedPtr<Engine::Data::ITrailerable>trailerable

Ver también