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 null.

def get_font_bytes(self, font_data, font_style):
    ...
ParameterTypeDescription
font_dataIFontDataThe font data object containing the information about the font FontData.
font_styleaspose.pydrawing.FontStyleThe style of the font for which the data is to be retrieved aspose.pydrawing.FontStyle.

See Also