get_font_embedding_level method

get_font_embedding_level

Determines the embedding level of a font from the given byte array and font name.

Returns

The embedding level of the specified font.

def get_font_embedding_level(self, font_bytes, font_name):
    ...
ParameterTypeDescription
font_bytesbytesThe byte array containing the font data.
font_namestrThe name of the font.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentNullException))Thrown when font_bytes is null.

See Also