java.lang.Object
com.aspose.words.FontEmbeddingLicensingRights
public class FontEmbeddingLicensingRights
| Property Getters/Setters Summary | ||
|---|---|---|
boolean | getBitmapEmbeddingOnly() | |
| Indicates the "Bitmap embedding only" restriction. | ||
int | getEmbeddingUsagePermissions() | |
| Usage permissions. The value of the property is FontEmbeddingUsagePermissions integer constant. | ||
boolean | getNoSubsetting() | |
| Indicates the "No subsetting" restriction. | ||
| Property Getters/Setters Detail |
|---|
getBitmapEmbeddingOnly | |
public boolean getBitmapEmbeddingOnly() | |
Example:
Shows how to get license rights information for embedded fonts (FontInfo).
Document doc = new Document(getMyDir() + "Embedded font rights.docx");
// Get the list of document fonts.
FontInfoCollection fontInfos = doc.getFontInfos();
for (FontInfo fontInfo : fontInfos)
{
if (fontInfo.getEmbeddingLicensingRights() != null)
{
System.out.println(fontInfo.getEmbeddingLicensingRights().getEmbeddingUsagePermissions());
System.out.println(fontInfo.getEmbeddingLicensingRights().getBitmapEmbeddingOnly());
System.out.println(fontInfo.getEmbeddingLicensingRights().getNoSubsetting());
}
}getEmbeddingUsagePermissions | |
public int getEmbeddingUsagePermissions() | |
Example:
Shows how to get license rights information for embedded fonts (FontInfo).
Document doc = new Document(getMyDir() + "Embedded font rights.docx");
// Get the list of document fonts.
FontInfoCollection fontInfos = doc.getFontInfos();
for (FontInfo fontInfo : fontInfos)
{
if (fontInfo.getEmbeddingLicensingRights() != null)
{
System.out.println(fontInfo.getEmbeddingLicensingRights().getEmbeddingUsagePermissions());
System.out.println(fontInfo.getEmbeddingLicensingRights().getBitmapEmbeddingOnly());
System.out.println(fontInfo.getEmbeddingLicensingRights().getNoSubsetting());
}
}getNoSubsetting | |
public boolean getNoSubsetting() | |
Example:
Shows how to get license rights information for embedded fonts (FontInfo).
Document doc = new Document(getMyDir() + "Embedded font rights.docx");
// Get the list of document fonts.
FontInfoCollection fontInfos = doc.getFontInfos();
for (FontInfo fontInfo : fontInfos)
{
if (fontInfo.getEmbeddingLicensingRights() != null)
{
System.out.println(fontInfo.getEmbeddingLicensingRights().getEmbeddingUsagePermissions());
System.out.println(fontInfo.getEmbeddingLicensingRights().getBitmapEmbeddingOnly());
System.out.println(fontInfo.getEmbeddingLicensingRights().getNoSubsetting());
}
}