The DocumentFontEmbedMode Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Specifies the font embedding mode used when saving a document.Visual Basic (Declaration) | |
---|---|
Public Enum DocumentFontEmbedMode Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DocumentFontEmbedMode |
C# | |
---|---|
public enum DocumentFontEmbedMode : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class DocumentFontEmbedMode : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
All | Embed all fonts, including the Licensed Fonts with the document. May result in large output file sizes. |
Auto | Embed fonts that are not commonly available with the exception of Licensed Fonts. |
Force | Embed fonts that are not commonly available with Licensed Fonts. |
None | No font embedding. Smallest output file size. |
You can use the DocumentFontEmbedMode to control how the fonts are embedded in the final document created by the LEADTOOLS Document Writer. The DocumentFormat.Pdf and DocumentFormat.Html supports embedding fonts in the final document.
Use the PdfDocumentOptions.FontEmbedMode property to control the font embedding mode used when creating PDF documents. Note that PdfDocumentOptions.FontEmbedMode is not used when saving PDF/A files; all fonts are always embedded in the file.
Use the HtmlDocumentOptions.FontEmbedMode property to control the font embedding mode used when creating HTML documents.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.DocumentWriters.DocumentFontEmbedMode
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7