embedding_licensing_rights property
FontInfo.embedding_licensing_rights property
Gets the embedded font licensing rights.
@property
def embedding_licensing_rights(self) -> aspose.words.fonts.FontEmbeddingLicensingRights:
...
Remarks
The value may be null if font is not embedded.
Examples
Shows how to get license rights information for embedded fonts (FontInfo).
doc = aw.Document(file_name=MY_DIR + 'Embedded font rights.docx')
# Get the list of document fonts.
font_infos = doc.font_infos
for font_info in font_infos:
if font_info.embedding_licensing_rights != None:
print(font_info.embedding_licensing_rights.embedding_usage_permissions)
print(font_info.embedding_licensing_rights.bitmap_embedding_only)
print(font_info.embedding_licensing_rights.no_subsetting)
See Also
- module aspose.words.fonts
- class FontInfo