Aspose::Page::XPS::XpsDocument::CreateFont method

XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream>) method

Crea un nuevo recurso de fuente TrueType a partir de un flujo.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParámetroTipoDescripción
flujoSystem::SharedPtr<System::IO::Stream>El flujo que contiene el perfil ICC para usar como recurso.

ReturnValue

Nuevo recurso de fuente TrueType.

Ver también

XpsDocument::CreateFont(System::String, System::Drawing::FontStyle) method

Crea un nuevo recurso de fuente TrueType.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParámetroTipoDescripción
fontFamilySystem::StringLa familia de fuentes.
fontStyleSystem::Drawing::FontStyleEl estilo de fuente.

ReturnValue

Nuevo recurso de fuente TrueType.

Ver también