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):
...
Parameter | Type | Description |
---|---|---|
font_bytes | bytes | The byte array containing the font data. |
font_name | str | The name of the font. |
Exceptions
Exception | Description |
---|---|
RuntimeError(Proxy error(ArgumentNullException)) | Thrown when font_bytes is null. |
See Also
- enumeration
EmbeddingLevel
- class
FontsManager
- module
aspose.slides
- library
Aspose.Slides