←Select platform

EmbedFonts Property

Summary

Indicates whether fonts are to be embedded in the document.

Syntax
C#
Objective-C
C++/CLI
Python
public bool EmbedFonts { get; set; } 
@property (nonatomic, assign) BOOL embedFonts; 
public:  
   property bool EmbedFonts 
   { 
      bool get() 
      void set(bool value) 
   } 
EmbedFonts # get and set (HtmlDocumentOptions) 

Property Value

true to embed the fonts in the final HTML document. Otherwise, false. Default value is false.

Remarks

When the value of EmbedFonts is true, the document writer will embed the fonts directly in the header section of the HTML file. If the value is set to false, then the writer will save the fonts into a separate file and adds a reference to the relative file path in the header section.

FontTypes controls the format to use when embedded the fonts.

EmbedFonts is used only when the value of FontEmbedMode is set to a value other than DocumentFontEmbedMode.None.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.