[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Inherit=Image Interfaces=Image,MarshalByRefObject,Object Info=Defines a graphic metafile. A metafile contains records that describe a sequence of graphics operations that can be recorded and played back. [Property] Name=Sets the name of the component. ARG(string)|2| Constructor=Sets the Constructor of the Metafile class. ARG(enum)|14|0|None,Constructor,Constructor2,Constructor3,Constructor4,Constructor5,Constructor6,Constructor7,Constructor8,Constructor9,Constructor10,Constructor11,Constructor12,Constructor13,Constructor14,Constructor15,Constructor16,Constructor17,Constructor18,Constructor19,Constructor20,Constructor21,Constructor22,Constructor23,Constructor24,Constructor25,Constructor26 EmfType=Sets an EmfType that specifies the format of the Metafile. ARG(EmfType)|14|0|EmfOnly,EmfPlusOnly,EmfPlusDual FrameUnit=Sets a MetafileFrameUnit that specifies the unit of measure for frameRect. ARG(MetafileFrameUnit)|14|0|Pixel,Point,Inch,Document,Millimeter,GdiCompatible DeleteHandle=Sets a value indicating whether to delete the handle to the Metafile when the Metafile is deleted. ARG(bool)|14|1|True,False Description=Sets a String that contains a descriptive name for the new Metafile. ARG(string)|2| RecordType=Sets element of the EmfPlusRecordType that specifies the type of metafile record being played. ARG(EmfPlusRecordType)|20|(empty)|EmfPlusRecordType WMFHeader=Sets a placeable metafile. ARG(WmfPlaceableFileHeader)|20|(empty)|WmfPlaceableFileHeader [Methods] *doConstructor=Initializes a new instance of the Metafile class from the specified data stream. ARG(Stream stream)|1|0 *doConstructor2=Initializes a new instance of the Metafile class from the specified file name. ARG(string filename)|1|0 *doConstructor3=Initializes a new instance of the Metafile class from the specified handle. ARG(IntPtr handle, bool deletehandle)|1|0 *doConstructor4=Initializes a new instance of the Metafile class from the specified handle to a device context and an EmfType enumeration that specifies the format of the Metafile. ARG(IntPtr handle, EmfType emfType)|1|0 *doConstructor5=Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader. ARG(IntPtr handle, WmfPlaceableFileHeader wmfHeader)|1|0 *doConstructor6=Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle. ARG(IntPtr handle, Rectangle||RectangleF frameRect)|1|0 *doConstructor7=Initializes a new instance of the Metafile class from the specified data stream. ARG(Stream stream, IntPtr handle)|1|0 *doConstructor8=Initializes a new instance of the Metafile class with the specified file name. ARG(string fileName, IntPtr handle)|1|0 *doConstructor9=Initializes a new instance of the Metafile class from the specified handle to a device context and an EmfType enumeration that specifies the format of the Metafile. A string can be supplied to name the file. ARG(IntPtr handle, EmfType emfType, string description)|1|0 *doConstructor10=Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader. Also, the deleteWmf parameter can be used to delete the handle when the metafile is deleted. ARG(IntPtr handle, WmfPlaceableFileHeader wmfHeader, bool deleteWmf)|1|0 *doConstructor11=Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure. ARG(IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit)|1|0 *doConstructor12=Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, and an EmfType enumeration that specifies the format of the Metafile. ARG(Stream stream, IntPtr handle, EmfType type)|1|0 *doConstructor13=Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, and a Rectangle structure that represents the rectangle that bounds the new Metafile. ARG(Stream stream, IntPtr handle, Rectangle||RectangleF frameRect)|1|0 *doConstructor14=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, and an EmfType enumeration that specifies the format of the Metafile. ARG(string fileName, IntPtr handle, EmfType type)|1|0 *doConstructor15=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, and a Rectangle structure that represents the rectangle that bounds the new Metafile. ARG(string fileName, IntPtr handle, Rectangle||RectangleF frameRect)|1|0 *doConstructor16=Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. ARG(IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)|1|0 *doConstructor17=Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, and an EmfType enumeration that specifies the format of the Metafile. Also, a string that contains a descriptive name for the new Metafile can be added. ARG(Stream stream, IntPtr handle, EmfType type, string description)|1|0 *doConstructor18=Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, and the supplied unit of measure. ARG(Stream stream, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit)|1|0 *doConstructor19=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, and an EmfType enumeration that specifies the format of the Metafile. A descriptive string can be added, as well. ARG(string fileName, IntPtr handle, EmfType type, string description)|1|0 *doConstructor20=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, and the supplied unit of measure. ARG(string fileName, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit)|1|0 *doConstructor21=Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle that uses the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. A string can be provided to name the file. ARG(IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string desc)|1|0 *doConstructor22=Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. ARG(Stream stream, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)|1|0 *doConstructor23=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. ARG(string fileName, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)|1|0 *doConstructor24=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, and the supplied unit of measure. A descriptive string can also be added. ARG(string fileName, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, string description)|1|0 *doConstructor25=Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. A string that contains a descriptive name for the new Metafile can be added. ARG(Stream stream, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)|1|0 *doConstructor26=Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, a Rectangle structure that represents the rectangle that bounds the new Metafile, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. A descriptive string can also be added. ARG(string fileName, IntPtr handle, Rectangle||RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, string description)|1|0 *doGetMetafileHeader2=Returns the MetafileHeader associated with the specified Metafile. ARG(IntPtr handle)|1|0 *doGetMetafileHeader3=Returns the MetafileHeader associated with the specified Metafile. ARG(Stream stream)|1|0 *doGetMetafileHeader4=Returns the MetafileHeader associated with the specified Metafile. ARG(string fileName)|1|0 *doGetMetafileHeader5=Returns the MetafileHeader associated with the specified Metafile. ARG(IntPtr handle, WmfPlaceableFileHeader wmfHeader)|1|0 *doPlayRecord=Plays an individual metafile record. ARG(EmfPlusRecordType recordType, int flags, int dataSize, byte[] data)|1|0 *onGetMetafileHeader=Occurs after invoke the method doGetMetafileHeader and returns the result. ARG(MetafileHeader)|2|0 *GetHenhmetafile=Returns a Windows handle to an enhanced Metafile. ARG(IntPtr)|3|0 *GetMetafileHeader=Returns the MetafileHeader associated with this Metafile. ARG(MetafileHeader)|3|0 Metafile=Returns the Metafile object. ARG(Metafile)|3|0 *data=Defines an array of bytes that contains the record data. ARG(byte[])|4|13 *dataSize=Defines the number of bytes in the record data. ARG(int)|4|1 *deleteHandle=Defines a value indicating whether to delete the handle to the Metafile when the Metafile is deleted. ARG(bool)|4|104 *description=Defines a String that contains a descriptive name for the new Metafile. ARG(string)|4|2 *emfType=Defines an EmfType that specifies the format of the Metafile. ARG(EmfType)|4|0 *flags=Defines a set of flags that specify attributes of the record. ARG(int)|4|1 *frameRect=Defines a Rectangle||RectangleF that represents the rectangle that bounds the new Metafile. ARG(Rectangle||RectangleF)|4|0 *frameUnit=Defines a MetafileFrameUnit that specifies the unit of measure for frameRect. ARG(MetafileFrameUnit)|4|0 *handle=Defines a windows handle to a Metafile or a device context. ARG(IntPtr)|4|0 *recordType=Defines element of the EmfPlusRecordType that specifies the type of metafile record being played. ARG(EmfPlusRecordType)|4|0 *stream=Defines the Stream from which to operate. ARG(Stream)|4|10 *wmfHeader=Defines a placeable metafile. ARG(WmfPlaceableFileHeader)|4|0