Method GetFonts
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetFonts()
Returns an enumerable collection of fonts used in this document.
public IEnumerable<PdfFont> GetFonts()
Returns
- IEnumerable<PdfFont>
An enumerable collection of fonts used in this document.
Remarks
The returned collection contains only fonts referenced by PDF objects like pages or a form controls.
When you save the document with the RemoveUnusedObjects
property set to true
, all unused fonts will be removed.
The Unembed fonts section contains an example of using this method.