get_font_bytes method
get_font_bytes
Retrieves the byte array representing the font data for a specified font style and font data.
Returns
A byte array containing the font data for the specified font style. If the font data or style is not found, returns None.
def get_font_bytes(self, font_data, font_style):
...
Parameter | Type | Description |
---|---|---|
font_data | IFontData | The font data object containing the information about the font IFontData . |
font_style | aspose.pydrawing.FontStyle | The style of the font for which the data is to be retrieved aspose.pydrawing.FontStyle. |
See Also
- class
IFontData
- class
IFontsManager
- module
aspose.slides
- library
Aspose.Slides