NoSubsetting
FontEmbeddingLicensingRights.NoSubsetting property
表示“无子集”限制。
public bool NoSubsetting { get; }
评论
设置此标志后,字体在嵌入前不得进行子集化。其他嵌入限制也适用。
例子
展示如何获取嵌入字体(FontInfo)的许可权利信息。
Document doc = new Document(MyDir + "Embedded font rights.docx");
// 获取文档字体列表。
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);
}
}