Aspose::Page::XPS::XpsDocument::CreateFont method
Contents
[
Hide
]XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream>) method
Creates a new TrueType font resource out of stream.
System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | The stream containing the ICC profile to take as a resource. |
ReturnValue
New TrueType font resource.
See Also
- 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
Creates a new TrueType font resource.
System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
Parameter | Type | Description |
---|---|---|
fontFamily | System::String | The font family. |
fontStyle | System::Drawing::FontStyle | The font style. |
ReturnValue
New TrueType font resource.
See Also
- Typedef SharedPtr
- Class XpsFont
- Class String
- Enum FontStyle
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++