Specifies the font embedding mode used when saving a document.
lt.Document.Writer.DocumentFontEmbedMode = {
none: 0,
auto: 1,
force: 2,
all: 3
}
lt.Document.Writer.DocumentFontEmbedMode = {
none: 0,
auto: 1,
force: 2,
all: 3
}
0 | None | (0) No font embedding. Smallest output file size. |
1 | Auto | (1) Embed fonts that are not commonly available with the exception of Licensed Fonts. |
2 | Force | (2) Embed fonts that are not commonly available with Licensed Fonts. |
3 | All | (3) 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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document