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

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

Crea una nuova risorsa di font TrueType da un flusso.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParametroTipoDescrizione
streamSystem::SharedPtr<System::IO::Stream>Il flusso contenente il profilo ICC da utilizzare come risorsa.

ReturnValue

Nuova risorsa di font TrueType.

Vedi anche

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

Crea una nuova risorsa di font TrueType.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParametroTipoDescrizione
fontFamilySystem::StringLa famiglia del font.
fontStyleSystem::Drawing::FontStyleLo stile del font.

ReturnValue

Nuova risorsa di font TrueType.

Vedi anche