Initializes a new instance of the Font class with the specified custom font file and size.
Namespace: Neodynamic.SDK.PrintingAssembly: Neodynamic.SDK.ThermalLabel (in Neodynamic.SDK.ThermalLabel.dll) Version: 5.0.3500.0 (5.0.3500.4)
Syntax
C# |
---|
public Font( string customFontFile, string customFontFileFamilyIndex, float size ) |
Visual Basic |
---|
Public Sub New ( _ customFontFile As String, _ customFontFileFamilyIndex As String, _ size As Single _ ) |
Visual C++ |
---|
public: Font( String^ customFontFile, String^ customFontFileFamilyIndex, float size ) |
Parameters
- customFontFile
- Type: System..::..String
The custom font file to use. It's the full path pointing out to the custom font file on local disk.
- customFontFileFamilyIndex
- Type: System..::..String
- size
- Type: System..::..Single
The size of the font measured in Points.