Class with properties which allows to specify Unicode options, such as "Fonts" directory etc

Namespace:  SautinSoft
Assembly:  SautinSoft.ExcelToPdf (in SautinSoft.ExcelToPdf.dll) Version: 4.2.7.24

Syntax

      
 C#  Visual Basic 
public class CUnicodeOptions
Public Class CUnicodeOptions

Members

         
 All Members  Constructors   Properties  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
ExcelToPdf..::.CUnicodeOptions()()()
Creates an instance of class ExcelToPdf..::.CUnicodeOptions.
DetectFontsDirectory
Allows to specify type of finding *.tff files. This is necessary to insert Unicode inside PDF.
FontsDirectory
Full local path to fonts directory (any folder with *.ttf files)

Remarks

Use properties from this class only through the property UnicodeOptions See picture:

Examples

CopyC#
SautinSoft.ExcelToPdf p = new SautinSoft.ExcelToPdf();
p.UnicodeOptions.DetectFontsDirectory = SautinSoft.ExcelToPdf.CUnicodeOptions.eUnicodeDetectFontsDirectory.Auto;
//p.UnicodeOptions.FontsDirectory = @"c:\windows\fonts\";
p.UnicodeOptions.FontsDirectory = Path.Combine(Server.MapPath(""), @"Fonts\");
CopyVB.NET
Dim p As New SautinSoft.ExcelToPdf()
p.UnicodeOptions.DetectFontsDirectory = SautinSoft.ExcelToPdf.CUnicodeOptions.eUnicodeDetectFontsDirectory.Auto
'p.UnicodeOptions.FontsDirectory = @"c:\windows\fonts\";
p.UnicodeOptions.FontsDirectory = Path.Combine(Server.MapPath(""), "Fonts\")

Inheritance Hierarchy

System..::.Object
  SautinSoft..::.ExcelToPdf..::.CUnicodeOptions

See Also