←Select platform

FontTypes Property

Summary

Font types to embed in the document.

Syntax
C#
Objective-C
C++/CLI
Python
public DocumentFontTypes FontTypes { get; set; } 
@property (nonatomic, assign) LTDocumentFontTypes fontTypes; 
public:  
   property DocumentFontTypes^ FontTypes 
   { 
      DocumentFontTypes^ get() 
      void set(DocumentFontTypes^ value) 
   } 
FontTypes # get and set (HtmlDocumentOptions) 

Property Value

Font types to embed in the document. Default value is DocumentFontTypes.WOFF1.

Remarks

DocumentFontTypes can be used to control the type of format to use when saving fonts in the HTML document. The default value of DocumentFontTypes.WOFF1 ensures that the font can be read by all major browsers. Font types can be ORed with each other to save multiple versions in different formats of the font if desired.

FontTypes 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.