PdfFontsCollection Class

A collection of PdfFont objects

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public class PdfFontsCollection : IEnumerable
Inheritance
Object    PdfFontsCollection
Implements
IEnumerable

Properties

Count The number of fonts in collection
Item Gets the font at the given index from collection
PdfDocument The PDF document owning this fonts collection

Methods

CreateFont(Font) Creates a PDF font from the given .NET font and adds it to the collection. The font will be embedded in the generated PDF document
CreateFont(String) Creates a PDF font from the given font file
CreateFont(Font, Boolean) Creates a PDF font from the given .NET font and adds it to the collection. Optionally embeds the font in the generated PDF document based on embed parameter value
CreateFontFromData(Byte) Creates a system font from font data and adds it to the collection
CreateFontFromData(Byte, Single, FontStyle) Creates a system font with size and style from font data and adds it to the collection
CreateStandardFont Creates a PDF font from the given standard Type 1 font and adds it to the collection
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetEnumerator Returns the collection enumerator
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also