←Select platform

FontTypes Property

Summary

Font types to embed in the document.

Syntax
C#
VB
C++
public DocumentFontTypes FontTypes { get; set; } 
Public Property FontTypes() As DocumentFontTypes 
   Get 
   Set 
public:  
   property DocumentFontTypes^ FontTypes 
   { 
      DocumentFontTypes^ get() 
      void set(DocumentFontTypes^ value) 
   } 

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly