Interface IGDIPlus.IGPPrivateFontCollection
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
Contents |
Syntax
Delphi:
type IGPPrivateFontCollection = interface
Summary
Interface for private fonts objects.
Description
Use this interface to access the TGPPrivateFontCollection object.
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
- function AddFontFile(filename : WideString) : TGPPrivateFontCollection - Adds a font file to this private font collection.
- function AddMemoryFont(memory : Pointer; length : Integer) : TGPPrivateFontCollection - Adds a font that is contained in system memory to a Microsoft Windows GDI+ font collection.