XpsDocument.CreateFont
CreateFont(string, FontStyle)
Creates a new TrueType font resource.
public XpsFont CreateFont(string fontFamily, FontStyle fontStyle)
Parameter | Type | Description |
---|---|---|
fontFamily | String | The font family. |
fontStyle | FontStyle | The font style. |
Return Value
New TrueType font resource.
See Also
- class XpsFont
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
CreateFont(Stream)
Creates a new TrueType font resource out of stream.
public XpsFont CreateFont(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream containing the ICC profile to take as a resource. |
Return Value
New TrueType font resource.
See Also
- class XpsFont
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page