get_font_bytes method
Contents
[
Hide
]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 | FontStyleType | The style of the font for which the data is to be retrieved FontStyleType. |
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 FontData. |
| font_style | aspose.pydrawing.FontStyle | The style of the font for which the data is to be retrieved aspose.pydrawing.FontStyle. |
See Also
- class
FontData - class
FontsManager - enumeration
FontStyleType - class
IFontData - module
aspose.slides - library
Aspose.Slides