NoSubsetting

FontEmbeddingLicensingRights.NoSubsetting property

Indicates the “No subsetting” restriction.

public bool NoSubsetting { get; }

Remarks

When this flag is set, the font must not be subsetted prior to embedding. Other embedding restrictions also apply.

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