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

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

Δημιουργεί έναν νέο πόρο γραμματοσειράς TrueType από ροή.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeΠεριγραφή
ροήSystem::SharedPtr<System::IO::Stream>Η ροή που περιέχει το προφίλ ICC για λήψη ως πόρο.

ReturnValue

Νέος πόρος γραμματοσειράς TrueType.

Δείτε επίσης

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

Δημιουργεί έναν νέο πόρο γραμματοσειράς TrueType.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParameterTypeΠεριγραφή
fontFamilySystem::StringΗ οικογένεια γραμματοσειράς.
fontStyleSystem::Drawing::FontStyleΤο στυλ γραμματοσειράς.

ReturnValue

Νέος πόρος γραμματοσειράς TrueType.

Δείτε επίσης