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

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

Erstellt eine neue TrueType-Schriftressource aus einem Stream.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParameterTypBeschreibung
StreamSystem::SharedPtr<System::IO::Stream>Der Stream, der das ICC-Profil enthält, das als Ressource verwendet werden soll.

ReturnValue

Neue TrueType-Schriftressource.

Siehe auch

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

Erstellt eine neue TrueType-Schriftressource.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParameterTypBeschreibung
fontFamilySystem::StringDie Schriftfamilie.
fontStyleSystem::Drawing::FontStyleDer Schriftstil.

ReturnValue

Neue TrueType-Schriftressource.

Siehe auch