PDF File Writer Class Library - Author Uzi Granot
PdfFontCreatePdfFont Method |
PDF Font resource constructor
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public static PdfFont CreatePdfFont( PdfDocument Document, string FontFamilyName, FontStyle FontStyle, bool EmbeddedFont = true )
Parameters
- Document
- Type: PdfFileWriterPdfDocument
Document object - FontFamilyName
- Type: SystemString
Font family name - FontStyle
- Type: System.DrawingFontStyle
Font style - EmbeddedFont (Optional)
- Type: SystemBoolean
Embedded font
Return Value
Type: PdfFontPdfFont resource

The returned result is either a new PdfFont or an
existing one with the same properties.
