get_script_font method
get_script_font
Gets the font name associated with a specific script tag from the presentation theme.
Returns
The name of the font used for the specified script, or None if the script is not defined.
def get_script_font(self, script):
...
| Parameter | Type | Description |
|---|---|---|
| script | str | The BCP-47 script code (e.g., “Latn”, “Cyrl”, “Jpan”) used to identify a writing system. |
Examples
This example demonstrates how to retrieve the font assigned to the Cyrillic script in the presentation theme.
See Also
- class
IFonts - module
aspose.slides - library
Aspose.Slides