Emf windows enhanced metafile




















The EMF file format has been revised twice. The changed versions are original, extension 1, and extension 2. Extended versions have provision for OpenGL records and an optional descriptor for internal pixel format. A measuring facility in milliliters is added for displayed dimensions. Table of Content. What is an EMF file? Moreover supports the record containing graphics objects and commands for drawing. Version 1 : The second version of EMF improved the flexibility and device independence by adding the record for pixel format and provision to use OpenGL command.

Version 2 : The third version enhanced the accuracy by adding the Metric system to measure the device surface distances, leaving the record more scalable.

Enhanced Metafile Records Metafile records are arranged in the form of array. Enhanced Metafile Operations Following are jobs that can be accomplished using the handle to an enhanced metafile. Display and edit for the stored picture.

Produce enhanced metafile copies. The following code example demonstrates how to create a Metafile and use the PlayRecord method. NET Framework does not have an encoder that you can use to save files as. NET 6 and later versions, the System. Common package , which includes this type, is only supported on Windows operating systems. Use of this type in cross-platform apps causes compile-time warnings and run-time exceptions. For more information, see System.

Common only supported on Windows. Initializes a new instance of the Metafile class from the specified handle. 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. Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle. 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. 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. 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.

Initializes a new instance of the Metafile class from the specified data stream. 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. 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.

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. 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. Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, and a RectangleF structure that represents the rectangle that bounds the new Metafile. Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, a RectangleF structure that represents the rectangle that bounds the new Metafile , and the supplied unit of measure.

Initializes a new instance of the Metafile class from the specified data stream, a Windows handle to a device context, a RectangleF 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. Initializes a new instance of the Metafile class from the specified file name.

Initializes a new instance of the Metafile class with the specified file name. 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. 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.

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. 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. Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, and a RectangleF structure that represents the rectangle that bounds the new Metafile.

Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, a RectangleF structure that represents the rectangle that bounds the new Metafile , and the supplied unit of measure.

Initializes a new instance of the Metafile class with the specified file name, a Windows handle to a device context, a RectangleF 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.

Gets attribute flags for the pixel data of this Image. Gets the height, in pixels, of this Image. Gets the horizontal resolution, in pixels per inch, of this Image. Gets or sets the color palette used for this Image.

Gets the pixel format for this Image. Gets IDs of the property items stored in this Image. Gets all the property items pieces of metadata stored in this Image. Additionally, overview documents cover inter-protocol relationships and interactions. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you can make copies of it in order to develop implementations of the technologies that are described in this documentation and can distribute portions of it in your implementations that use these technologies or in your documentation as necessary to properly document the implementation.

You can also distribute in your implementation, with or without modification, any schemas, IDLs, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications documentation. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Microsoft has patents that might cover your implementations of the technologies described in the Open Specifications documentation.

Neither this notice nor Microsoft's delivery of this documentation grants any licenses under those patents or any other Microsoft patents. If you would prefer a written license, or if the technologies described in this documentation are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting iplg microsoft.

License Programs. To see all of the protocols in scope under a specific license program and the associated patents, visit the Patent Map. The names of companies and products contained in this documentation might be covered by trademarks or similar intellectual property rights. This notice does not grant any licenses under those rights. For a list of Microsoft trademarks, visit www.



0コメント

  • 1000 / 1000