EmbeddingLicensingRights
FontInfo.EmbeddingLicensingRights property
Gets the embedded font licensing rights.
public FontEmbeddingLicensingRights EmbeddingLicensingRights { get; }
Remarks
The value may be null if font is not embedded.
Examples
Shows how to get license rights information for embedded fonts (FontInfo).
Document doc = new Document(MyDir + "Embedded font rights.docx");
// Get the list of document fonts.
FontInfoCollection fontInfos = doc.FontInfos;
foreach (FontInfo fontInfo in fontInfos)
{
if (fontInfo.EmbeddingLicensingRights != null)
{
Console.WriteLine(fontInfo.EmbeddingLicensingRights.EmbeddingUsagePermissions);
Console.WriteLine(fontInfo.EmbeddingLicensingRights.BitmapEmbeddingOnly);
Console.WriteLine(fontInfo.EmbeddingLicensingRights.NoSubsetting);
}
}
See Also
- class FontEmbeddingLicensingRights
- class FontInfo
- namespace Aspose.Words.Fonts
- assembly Aspose.Words