Constructs a Font-object.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public Font GetFont( string fontname, string encoding, bool embedded, float size, int style ) |
Visual Basic |
---|
Public Function GetFont ( _ fontname As String, _ encoding As String, _ embedded As Boolean, _ size As Single, _ style As Integer _ ) As Font |
Visual C++ |
---|
public: Font^ GetFont( String^ fontname, String^ encoding, bool embedded, float size, int style ) |
Parameters
- fontname
- Type: System..::..String
the name of the font
- encoding
- Type: System..::..String
the encoding of the font
- embedded
- Type: System..::..Boolean
true if the font is to be embedded in the PDF
- size
- Type: System..::..Single
the size of this font
- style
- Type: System..::..Int32
the style of this font