FontEmbeddingLicensingRights
Contents
[
Hide
]FontEmbeddingLicensingRights class
Represents embedding licensing rights for the font.
public class FontEmbeddingLicensingRights
Properties
Name | Description |
---|---|
BitmapEmbeddingOnly { get; } | Indicates the “Bitmap embedding only” restriction. |
EmbeddingUsagePermissions { get; } | Usage permissions. |
NoSubsetting { get; } | Indicates the “No subsetting” restriction. |
Remarks
To learn more, visit the OpenType specification section on Microsoft Typography portal.
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
- namespace Aspose.Words.Fonts
- assembly Aspose.Words