Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DocumentFontEmbedMode Enumeration
See Also  
Leadtools.Forms.DocumentWriters Namespace : DocumentFontEmbedMode Enumeration



Specifies the font embedding mode used when saving a document.

Syntax

Visual Basic (Declaration) 
Public Enum DocumentFontEmbedMode 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As DocumentFontEmbedMode
C# 
public enum DocumentFontEmbedMode : Enum 
C++/CLI 
public enum class DocumentFontEmbedMode : public Enum 

Members

MemberDescription
NoneNo font embedding. Smallest output file size.
AutoEmbed fonts that are not commonly available with the exception of Licensed Fonts.
ForceEmbed fonts that are not commonly available with Licensed Fonts.
AllEmbed all fonts, including the Licensed Fonts with the document. May result in large output file sizes.

Example

For an example, refer to PdfDocumentOptions.

Remarks

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.DocumentWriters.DocumentFontEmbedMode

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features