Constructs a Font-object.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public static Font GetFont( string fontname, string encoding, float size ) |
Visual Basic |
---|
Public Shared Function GetFont ( _ fontname As String, _ encoding As String, _ size As Single _ ) As Font |
Visual C++ |
---|
public: static Font^ GetFont( String^ fontname, String^ encoding, float size ) |
Parameters
- fontname
- Type: System..::..String
the name of the font
- encoding
- Type: System..::..String
the encoding of the font
- size
- Type: System..::..Single
the size of this font