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

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

Crée une nouvelle ressource de police TrueType à partir d’un flux.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParamètreTypeDescription
fluxSystem::SharedPtr<System::IO::Stream>Le flux contenant le profil ICC à prendre comme ressource.

ReturnValue

Nouvelle ressource de police TrueType.

Voir aussi

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

Crée une nouvelle ressource de police TrueType.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParamètreTypeDescription
fontFamilySystem::StringLa famille de police.
fontStyleSystem::Drawing::FontStyleLe style de police.

ReturnValue

Nouvelle ressource de police TrueType.

Voir aussi