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)
| Parameter | Type | الوصف |
|---|---|---|
| دفق | System::SharedPtr<System::IO::Stream> | الدفق الذي يحتوي على ملف تعريف ICC لاستخدامه كمورد. |
ReturnValue
مورد خط TrueType جديد.
انظر أيضًا
- Typedef SharedPtr
- Class XpsFont
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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)
| Parameter | Type | الوصف |
|---|---|---|
| fontFamily | System::String | عائلة الخط. |
| fontStyle | System::Drawing::FontStyle | نمط الخط. |
ReturnValue
مورد خط TrueType جديد.
انظر أيضًا
- Typedef SharedPtr
- Class XpsFont
- Class String
- Enum FontStyle
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++