Specifies the font embedding mode used when saving a document.
[SerializableAttribute()]
[DataContractAttribute()]
public enum DocumentFontEmbedMode
<DataContractAttribute()>
<SerializableAttribute()>
Public Enum DocumentFontEmbedMode
[DataContractAttribute()]
[SerializableAttribute()]
public enum DocumentFontEmbedMode
typedef NS_ENUM(NSInteger, LTDocumentFontEmbedMode)
public enum DocumentFontEmbedMode
Leadtools.Forms.DocumentWriters.DocumentFontEmbedMode = function() { };
Leadtools.Forms.DocumentWriters.DocumentFontEmbedMode.prototype = {<br/>
None = 0,
Auto = 1,
Force = 2,
All = 3,
};
[DataContractAttribute()]
[SerializableAttribute()]
public enum class DocumentFontEmbedMode
Members
Value | Member | Description |
---|---|---|
0 | None |
No font embedding. Smallest output file size. |
1 | Auto |
Embed fonts that are not commonly available with the exception of Licensed Fonts. |
2 | Force |
Embed fonts that are not commonly available with Licensed Fonts. |
3 | All |
Embed all fonts, including the Licensed Fonts with the document. May result in large output file sizes. |
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.
For an example, refer to PdfDocumentOptions.
Leadtools.Forms.DocumentWriters Namespace
Programming with LEADTOOLS Document Writers
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET