PdfDocument.AddFont Method

Adds a new font to the end of the collection of document fonts.

Overload List

  NameDescription
Public methodAddFont(Byte[])
Creates a new font using provided font bytes and adds the new font to the end of the collection of document fonts.
Public methodAddFont(PdfBuiltInFont)
Adds a new instance of built-in font to the end of the collection of document fonts.
Public methodAddFont(Stream)
Creates a new font using provided stream with font bytes and adds the new font to the end of the collection of document fonts.
Public methodAddFont(String)
Adds a new font with specified face name to the end of the collection of document fonts.
Public methodAddFont(Byte[], Boolean, Boolean)
Creates a new font with specified properties using provided font bytes and adds the new font to the end of the collection of document fonts.
Public methodAddFont(PdfBuiltInFont, Boolean, Boolean)
Adds a new instance of built-in font with specified properties to the end of the collection of document fonts.
Public methodAddFont(Stream, Boolean, Boolean)
Creates a new font with specified properties using provided stream with font bytes and adds the new font to the end of the collection of document fonts.
Public methodAddFont(Byte[], Boolean, Boolean, Boolean, Boolean)
Creates a new font with specified properties using provided font bytes and adds the new font to the end of the collection of document fonts.
Public methodAddFont(Stream, Boolean, Boolean, Boolean, Boolean)
Creates a new font with specified properties using provided stream with font bytes and adds the new font to the end of the collection of document fonts.
Public methodAddFont(String, Boolean, Boolean, Boolean, Boolean)
Adds a new font with specified properties to the end of the collection of document fonts.

See Also