Interface IGDIPlus.IGPMetafileHeader
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 IGPMetafileHeader = interface
Summary
Interface to a TGPMetafileHeader object.
Description
Defines interface to a TGPMetafileHeader object. Remarks Metafiles provide a device-independent and application-independent way to share pictures. They contain records that describe a sequence of graphics APIs to invoke in a particular order with their associated graphics data. Metafiles can be recorded by an application and later played back by that application or by another one to reproduce a particular picture. They can also be used to send content to a print spooler. Enhanced metafiles support the ability to provide both Microsoft Windows GDI+ and Windows Graphics Device Interface (GDI) descriptions of the same picture so that both GDI+ and down-level GDI applications can render it.
Properties
- MetafileSize - Returns the size, in bytes, of the metafile.
- Version - Returns the version of the metafile.
- DpiX - Returns the horizontal dots per inch of the associated metafile.
- DpiY - Returns the vertical dots per inch of the associated metafile.
- Bounds - Returns the bounding rectangle for the associated metafile.
Methods
- function GetType() : TGPMetafileType - Returns the type of the associated metafile.
- function GetMetafileSize() : UINT - Returns the size, in bytes, of the metafile.
- function GetVersion() : UINT - Returns the version of the metafile.
- function GetEmfPlusFlags() : UINT - Returns a flag that indicates whether the associated metafile was recorded against a video display device context.
- function GetDpiX() : Single - Returns the horizontal dots per inch of the associated metafile.
- function GetDpiY() : Single - Returns the vertical dots per inch of the associated metafile.
- function GetBounds() : TGPRect - Returns the bounding rectangle for the associated metafile.
- function IsWmf() : Boolean - Determines whether the associated metafile is in the WMF format.
- function IsWmfPlaceable() : Boolean - Determines whether the associated metafile is a placeable metafile.
- function IsEmf() : Boolean - Determines whether the associated metafile is in the EMF format.
- function IsEmfOrEmfPlus() : Boolean - Determines whether the associated metafile is in either the EMF or EMF+ format.
- function IsEmfPlus() : Boolean - Determines whether the associated metafile is in the EMF+ format.
- function IsEmfPlusDual() : Boolean - Determines whether the associated metafile is in the EMF+ Dual format.
- function IsEmfPlusOnly() : Boolean - Determines whether the associated metafile is in the EMF+ Only format.
- function IsDisplay() : Boolean - Determines whether the associated metafile was recorded against a video display device context.
- function GetWmfHeader() : PMetaHeader - Returns a METAHEADER structure that contains properties of the associated metafile.
- function GetEmfHeader() : PENHMETAHEADER3 - Returns an ENHMETAHEADER3 structure that contains properties of the associated metafile.