FontEmbeddingUsagePermissions

FontEmbeddingUsagePermissions enumeration

Represents the font embedding usage permissions.

public enum FontEmbeddingUsagePermissions

Values

NameValueDescription
Installable0The font may be embedded, and may be permanently installed for use on a remote systems, or for use by other users.
RestrictedLicense1The font must not be modified, embedded or exchanged in any manner without first obtaining explicit permission of the legal owner.
PrintAndPreview2The font may be embedded, and may be temporarily loaded on other systems for purposes of viewing or printing the document.
Editable3The font may be embedded, and may be temporarily loaded on other systems.

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