Method AddFile
- Namespace
- SoftZenPdf.Layout
- Assembly
- SoftZenPdf.dll
AddFile(string)
Registers every font of a font file (each font of a .ttc collection). Fonts are loaded when first used.
public int AddFile(string path)
Parameters
pathstringA
.ttf,.ttcor.otffile.
Returns
- int
How many fonts were registered; fonts with CFF outlines or a licence that forbids embedding are skipped.