Class FRPrivateFontCollection
A wrapper around PrivateFontCollection.
Inheritance
System.Object
FRPrivateFontCollection
Namespace: FastReport.Utils
Assembly: FastReport.Base.dll
Syntax
[Obsolete("Use FastReport.FontManager instead")]
public class FRPrivateFontCollection
Methods
AddFontFile(String)
Adds a font.
Declaration
public bool AddFontFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filename | The font file name. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the font added succesfully. |
AddMemoryFont(IntPtr, Int32)
Adds memory font.
Declaration
public void AddMemoryFont(IntPtr memory, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | memory | Pointer to memory block. |
| System.Int32 | length | Length of the block. |