Click or drag to resize

CFontProviderAddFont Method (String)

Adds a font from the specified file path

Namespace:  ComPDF.PDFGeneration
Assembly:  ComPDFGeneration (in ComPDFGeneration.dll) Version: 1.0.0+340720369ae98791af8dd72f985ee6534adad5e3
Syntax
C#
public int AddFont(
	string fontPath
)

Parameters

fontPath
Type: SystemString
The path to the font file

Return Value

Type: Int32
The total number of fonts after adding, or 0 if the operation failed
See Also