Class IGDIPlus.TGPPrivateFontCollection
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: TGPFontCollection
Contents |
Syntax
Delphi:
type TGPPrivateFontCollection = class( TGPFontCollection, IGPPrivateFontCollection )
C++ Builder:
class TGPPrivateFontCollection : public TGPFontCollection
Visual C++ (MFC):
class CTGPPrivateFontCollection : public CTGPFontCollection
C# (.NET):
public ref class TGPPrivateFontCollection : Mitov.SignalLab.FontCollection
Summary
Collection class for private fonts.
Description
The TGPPrivateFontCollection is a collection class for fonts. This class keeps a collection of fonts specifically for an application. The fonts in the collection can include installed fonts as well as fonts that have not been installed on the system. Remarks TGPPrivateFontCollection allows applications to install a private version of an existing font without the need to replace the system version of the font. For example, GDI+ can create a private version of the Arial font in addition to the Arial font that the system uses. TGPTGPPrivateFontCollection can also be used to install fonts that don't exist in the operating system. This is a temporary font install that doesn't affect the system-installed collection. To see the installed collection use the TGPInstalledFontCollection class.
Methods
Public
- function AddFontFile(filename : WideString) : TGPPrivateFontCollection
- function AddMemoryFont(memory : Pointer; length : Integer) : TGPPrivateFontCollection