TGPEmfPlusRecordType

From Mitov Wiki Doc
Jump to: navigation, search

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.

Description

Defines enumeration that identifies metafile record types used in Microsoft Windows Metafile Format (WMF), Enhanced Metafile (EMF), and EMF+ files. The elements of the EmfPlusRecordType enumeration come in three groups.

 * Elements in the first group have the prefix WmfRecordType
   and identity WMF records.
 * Elements in the second group have the prefix
   EmfRecordType and identify EMF records.
 * Elements in the third group have the prefix
   EmfPlusRecordType and identify EMF+ records.

WMF and EMF records can be displayed by Windows GDI+ and by Windows Graphics Device Interface (GDI). EMF+ records can be displayed by GDI+ but not by GDI.


Elements that have the WmfRecordType prefix are analogous to constants (defined in Wingdi.h) that have the prefix META_. For example, the element WmfRecordTypeSetBkColor is analogous to the constant META_SETBKCOLOR. For more information about WMF files, see Windows-Format Metafiles.


Elements that have the EmfRecordType prefix are analogous to constants (defined in Wingdi.h) that have the prefix EMR_. For example, the element EmfRecordTypePolygon is analogous to the constant EMR_POLYGON. For more information about EMR constants, see EMR.


Elements that have the EmfPlusRecordType prefix are specific to GDI+. Most of those elements correspond to methods of the Graphics class. The remaining elements identify the header, the end of the file, and other sections of the metafile. The Constants section of this topic shows the correspondence between the EMF+ record types and the methods of the Graphics class.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox