create_font method
create_font
Creates a new TrueType font resource out of stream.
Returns
New TrueType font resource.
def create_font(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream containing the ICC profile to take as a resource. |
create_font
Creates a new TrueType font resource.
Returns
New TrueType font resource.
def create_font(self, font_family, font_style):
...
Parameter | Type | Description |
---|---|---|
font_family | str | The font family. |
font_style | aspose.pydrawing.FontStyle | The font style. |
See Also
- module
aspose.page.xps
- class
XpsDocument
- class
XpsFont