EmbeddingUsagePermissions
FontEmbeddingLicensingRights.EmbeddingUsagePermissions property
Usage permissions.
public FontEmbeddingUsagePermissions EmbeddingUsagePermissions { get; }
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
- enum FontEmbeddingUsagePermissions
- class FontEmbeddingLicensingRights
- namespace Aspose.Words.Fonts
- assembly Aspose.Words