- [MS-EMF]: Enhanced Metafile Format
- Published Version
- Previous Versions
- Preview Versions
- Development Resources
- Intellectual Property Rights Notice for Open Specifications Documentation
- Enhanced Metafile Operations
- Display the Picture Stored in an Enhanced Metafile
- Create Copies of an Enhanced Metafile
- Edit an Enhanced Metafile
- Retrieve the Optional Description Stored in an Enhanced Metafile
- Retrieve a Binary Version of an Enhanced Metafile
- Enumerate the Colors in the Optional Palette
- Creating an Enhanced Metafile
- Metafile Класс
- Определение
- Примеры
- Комментарии
- Конструкторы
- Свойства
- Методы
- Явные реализации интерфейса
[MS-EMF]: Enhanced Metafile Format
Specifies the Enhanced Metafile Format (EMF) structure, which can store a picture in device-independent form.
This page and associated content may be updated frequently. We recommend you subscribe to the RSS feed to receive update notifications.
Published Version
Previous Versions
Preview Versions
From time to time, Microsoft may publish a preview, or pre-release, version of an Open Specifications technical document for community review and feedback. To submit feedback for a preview version of a technical document, please follow any instructions specified for that document. If no instructions are indicated for the document, please provide feedback by using the Open Specification Forums .
The preview period for a technical document varies. Additionally, not every technical document will be published for preview.
A preview version of this document may be available on the Windows Protocols — Preview Documents page. After the preview period, the most current version of the document is available on this page.
Development Resources
Find resources for creating interoperable solutions for Microsoft software, services, hardware, and non-Microsoft products:
Intellectual Property Rights Notice for Open Specifications Documentation
Technical Documentation. Microsoft publishes Open Specifications documentation (“this documentation”) for protocols, file formats, data portability, computer languages, and standards support. Additionally, overview documents cover inter-protocol relationships and interactions.
Copyrights. 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.
Patents. 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. However, a given Open Specifications document might be covered by the Microsoft Open Specifications Promise or the Microsoft Community Promise . 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.com .
License Programs. To see all of the protocols in scope under a specific license program and the associated patents, visit the Patent Map .
Trademarks. 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.microsoft.com/trademarks .
Fictitious Names. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events that are depicted in this documentation are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred.
Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other than as specifically described above, whether by implication, estoppel, or otherwise.
Tools. The Open Specifications documentation does not require the use of Microsoft programming tools or programming environments in order for you to develop an implementation. If you have access to Microsoft programming tools and environments, you are free to take advantage of them. Certain Open Specifications documents are intended for use in conjunction with publicly available standards specifications and network programming art and, as such, assume that the reader either is familiar with the aforementioned material or has immediate access to it.
Enhanced Metafile Operations
You can use the handle to an enhanced metafile to accomplish the following tasks:
- Display the picture stored in an enhanced metafile.
- Create copies of an enhanced metafile.
- Edit an enhanced metafile.
- Retrieve the optional description stored in an enhanced metafile.
- Retrieve a copy of an enhanced-metafile header.
- Retrieve a binary version of an enhanced metafile.
- Enumerate the colors in the optional palette.
These tasks are discussed in the sections in the remainder of this topic.
Display the Picture Stored in an Enhanced Metafile
You can display the picture stored in an enhanced metafile using the PlayEnhMetaFile function. Pass the function a handle to the enhanced metafile, without being concerned with the format of the enhanced metafile records. However, it is sometimes desirable to enumerate the records in the enhanced metafile to search for a particular GDI function and modify the parameters of the function in some manner. To do this, you can use EnumEnhMetaFile and provide a callback function, EnhMetaFileProc, to process the enhanced metafile records. To modify the parameters for an enhanced metafile record, you must know the format of the parameters within the record.
Create Copies of an Enhanced Metafile
Some applications create temporary backup (or duplicate) copies of a file before enabling the user to alter the original. An application can create a backup copy of an enhanced metafile by calling the CopyEnhMetaFile function, supplying a handle that identifies the enhanced metafile, and supplying a pointer to the name of the new file.
To create a memory-based enhanced-format metafile, call the SetEnhMetaFileBits function.
Edit an Enhanced Metafile
Most drawing, illustration, and computer-aided design (CAD) applications require a means of editing a picture stored in an enhanced metafile. Although editing an enhanced metafile is a complex task, you can use the EnumEnhMetaFile function in combination with other functions to provide this capability in your application. The EnumEnhMetaFile function and its associated callback function, EnhMetaFileProc, enable the application to process individual records in an enhanced metafile.
Retrieve the Optional Description Stored in an Enhanced Metafile
Some applications display the text description of an enhanced metafile with the corresponding file name in the Open dialog box. You can determine whether this string exists in an enhanced metafile by retrieving the metafile header with the GetEnhMetaFileHeader function and examining one of its members. If the string exists, the application retrieves it by calling the GetEnhMetaFileDescription function.
Retrieve a Binary Version of an Enhanced Metafile
You can retrieve the contents of a metafile by calling the GetEnhMetaFileBits function; however, before retrieving the contents, you must specify the size of the file. To get the size, you can use the GetEnhMetaFileHeader function and examine the appropriate member.
Enumerate the Colors in the Optional Palette
To achieve consistent colors when a picture is displayed on various output devices, you can call the CreatePalette function and store a logical palette in an enhanced metafile. An application that displays the picture stored in the enhanced metafile retrieves this palette and calls the RealizePalette function before displaying the picture. To determine whether a palette is stored in an enhanced metafile, retrieve the metafile header and examine the appropriate member. If a palette exists, you can call the GetEnhMetaFilePaletteEntries function to retrieve the logical palette.
Creating an Enhanced Metafile
This section contains an example that demonstrates the creation of an enhanced metafile that is stored on a disk, using a file name specified by the user.
The example uses a device context for the application window as the reference device context. (The system stores the resolution data for this device in the enhanced-metafile’s header.) The application retrieves a handle identifying this device context by calling the GetDC function.
The example uses the dimensions of the application’s client area to define the dimensions of the picture frame. Using the rectangle dimensions returned by the GetClientRect function, the application converts the device units to .01-millimeter units and passes the converted values to the CreateEnhMetaFile function.
The example displays a Save As common dialog box that enables the user to specify the file name of the new enhanced metafile. The system appends the three-character .emf extension to this file name and passes the name to the CreateEnhMetaFile function.
The example also embeds a text description of the picture in the enhanced-metafile header. This description is specified as a resource in the string table of the application’s resource file. However, in a working application, this string would be retrieved from a custom control in a common dialog box or from a separate dialog box displayed solely for this purpose.
Metafile Класс
Определение
Определяет графический метафайл. Defines a graphic metafile. Метафайл содержит записи, описывающие последовательность графических операций, которые могут быть записаны (созданы) и воспроизведены (выведены на экран). A metafile contains records that describe a sequence of graphics operations that can be recorded (constructed) and played back (displayed). Этот класс не наследуется. This class is not inheritable.
Примеры
В следующем примере кода показано, как создать Metafile и использовать PlayRecord метод. The following code example demonstrates how to create a Metafile and use the PlayRecord method.
Комментарии
При использовании Save метода для сохранения графического изображения в виде файла формат WMF (WMF) или расширенного метафайла (EMF) полученный файл сохраняется в виде PNG-файла. When you use the Save method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file instead. Такое поведение обусловлено тем, что компонент GDI+ платформа .NET Framework не имеет кодировщика, который можно использовать для сохранения файлов в формате WMF или EMF. This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that you can use to save files as .wmf or .emf files.
Конструкторы
Инициализирует новый экземпляр класса Metafile из указанного дескриптора. Initializes a new instance of the Metafile class from the specified handle.
Инициализирует новый экземпляр класса Metafile из указанного дескриптора контекста устройства и перечисление EmfType, определяющее формат Metafile. 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.
Инициализирует новый экземпляр класса Metafile из указанного дескриптора контекста устройства и перечисление EmfType, определяющее формат Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником. Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником, где используются указанные единицы измерения. 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.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником, где используются заданная единица измерения, а также перечисления EmfType, определяющего формат Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником, где используются заданная единица измерения, а также перечисления EmfType, определяющего формат Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником. Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником, где используются указанные единицы измерения. 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.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником, где используются заданная единица измерения, а также перечисления EmfType, определяющего формат Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником, где используются заданная единица измерения, а также перечисления EmfType, определяющего формат Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного дескриптора и заголовка WmfPlaceableFileHeader. Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader.
Инициализация нового экземпляра класса Metafile из указанного дескриптора и заголовка WmfPlaceableFileHeader. Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader. Также для удаления дескриптора при удалении метафайла можно использовать параметр deleteWmf . Also, the deleteWmf parameter can be used to delete the handle when the metafile is deleted.
Инициализирует новый экземпляр класса Metafile из указанного потока данных. Initializes a new instance of the Metafile class from the specified data stream.
Инициализирует новый экземпляр класса Metafile из указанного потока данных. Initializes a new instance of the Metafile class from the specified data stream.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства и перечисления EmfType, определяющего формат Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства и перечисления EmfType, определяющего формат Metafile. 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. Также может быть добавлена строка, содержащая описательное имя нового объекта Metafile. Also, a string that contains a descriptive name for the new Metafile can be added.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства и структуры Rectangle, определяющей прямоугольник, ограничивающий новый объект Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства и структуры Rectangle, которая определяет прямоугольник, ограничивающий новый объект 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.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства, структуры Rectangle, определяющей прямоугольник, ограничивающий новый объект Metafile, предоставленных единиц измерения и перечисления EmfType, определяющего формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства, структуры Rectangle, определяющей прямоугольник, ограничивающий новый объект Metafile, предоставленных единиц измерения и перечисления EmfType, определяющего формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. Также может быть добавлена строка, содержащая описательное имя нового объекта Metafile. A string that contains a descriptive name for the new Metafile can be added.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства и структуры RectangleF, определяющей прямоугольник, ограничивающий новый объект Metafile. 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.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства и структуры RectangleF, которая определяет прямоугольник, ограничивающий новый объект 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.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства, структуры RectangleF, определяющей прямоугольник, ограничивающий новый объект Metafile, предоставленных единиц измерения и перечисления EmfType, определяющего формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile.
Инициализация нового экземпляра класса Metafile из указанного потока данных, дескриптора Windows контекста устройства, структуры RectangleF, определяющей прямоугольник, ограничивающий новый объект Metafile, предоставленных единиц измерения и перечисления EmfType, определяющего формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. Также может быть добавлена строка, содержащая описательное имя нового объекта Metafile. A string that contains a descriptive name for the new Metafile can be added.
Инициализирует новый экземпляр класса Metafile из указанного имени файла. Initializes a new instance of the Metafile class from the specified file name.
Инициализирует новый экземпляр класса Metafile c указанным именем файла. Initializes a new instance of the Metafile class with the specified file name.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и перечислением EmfType, определяющим формат Metafile. 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.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и перечислением EmfType, определяющим формат Metafile. 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.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и структурой Rectangle, которая определяет прямоугольник, ограничивающий новый объект Metafile. 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.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и структурой Rectangle, которая определяет прямоугольник, ограничивающий новый объект 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.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства, структурой Rectangle, которая определяет прямоугольник, ограничивающий новый объект Metafile, заданными единицами измерения и перечислением EmfType, определяющим формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства, структурой Rectangle, которая определяет прямоугольник, ограничивающий новый объект Metafile, заданными единицами измерения и перечислением EmfType, определяющим формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. Также может быть добавлена описательная строка. A descriptive string can also be added.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и структурой Rectangle, которая определяет прямоугольник, ограничивающий новый объект 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. Также может быть добавлена описательная строка. A descriptive string can also be added.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и структурой RectangleF, которая определяет прямоугольник, ограничивающий новый объект Metafile. 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.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и структурой RectangleF, которая определяет прямоугольник, ограничивающий новый объект 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.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства, структурой RectangleF, которая определяет прямоугольник, ограничивающий новый объект Metafile, заданными единицами измерения и перечислением EmfType, определяющим формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства, структурой RectangleF, которая определяет прямоугольник, ограничивающий новый объект Metafile, заданными единицами измерения и перечислением EmfType, определяющим формат 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, the supplied unit of measure, and an EmfType enumeration that specifies the format of the Metafile. Также может быть добавлена описательная строка. A descriptive string can also be added.
Инициализация нового экземпляра класса Metafile указанным именем файла, дескриптором Windows контекста устройства и структурой RectangleF, которая определяет прямоугольник, ограничивающий новый объект 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. Также может быть добавлена описательная строка. A descriptive string can also be added.
Свойства
Возвращает флаги атрибутов для пиксельных данных этого объекта Image. Gets attribute flags for the pixel data of this Image.
(Унаследовано от Image)
Возвращает массив идентификаторов GUID, представляющих размеры кадров в объекте Image. Gets an array of GUIDs that represent the dimensions of frames within this Image.
(Унаследовано от Image)
Возвращает высоту объекта Image в пикселях. Gets the height, in pixels, of this Image.
(Унаследовано от Image)
Возвращает горизонтальное разрешение объекта Image в пикселях на дюйм. Gets the horizontal resolution, in pixels per inch, of this Image.
(Унаследовано от Image)
Возвращает или задает палитру цветов, используемую для объекта Image. Gets or sets the color palette used for this Image.
(Унаследовано от Image)
Возвращает ширину и высоту данного изображения. Gets the width and height of this image.
(Унаследовано от Image)
Возвращает формат пикселей для этого объекта Image. Gets the pixel format for this Image.
(Унаследовано от Image)
Возвращает идентификаторы элементов свойств, хранящихся в объекте Image. Gets IDs of the property items stored in this Image.
(Унаследовано от Image)
Возвращает все элементы свойств (части метаданных), хранящихся в объекте Image. Gets all the property items (pieces of metadata) stored in this Image.
(Унаследовано от Image)
Возвращает формат файла этого объекта Image. Gets the file format of this Image.
(Унаследовано от Image)
Возвращает ширину и высоту изображения в пикселях. Gets the width and height, in pixels, of this image.
(Унаследовано от Image)
Возвращает или задает объект, предоставляющий дополнительные данные об изображении. Gets or sets an object that provides additional data about the image.
(Унаследовано от Image)
Возвращает вертикальное разрешение объекта Image в пикселях на дюйм. Gets the vertical resolution, in pixels per inch, of this Image.
(Унаследовано от Image)
Возвращает ширину объекта Image в пикселях. Gets the width, in pixels, of this Image.
(Унаследовано от Image)
Методы
Создает точную копию данного объекта Image. Creates an exact copy of this Image.
(Унаследовано от Image)
Создает объект, который содержит всю необходимую информацию для создания прокси-сервера, используемого для взаимодействия с удаленным объектом. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Унаследовано от MarshalByRefObject)
Освобождает все ресурсы, используемые этим объектом Image. Releases all resources used by this Image.
(Унаследовано от Image)
Освобождает неуправляемые ресурсы, используемые объектом Image, а при необходимости освобождает также управляемые ресурсы. Releases the unmanaged resources used by the Image and optionally releases the managed resources.
(Унаследовано от Image)
Определяет, равен ли указанный объект текущему объекту. Determines whether the specified object is equal to the current object.
(Унаследовано от Object)
Возвращает границы изображения в указанных единицах измерения. Gets the bounds of the image in the specified unit.
(Унаследовано от Image)
Возвращает информацию о параметрах, поддерживаемых указанным кодировщиком изображения. Returns information about the parameters supported by the specified image encoder.
(Унаследовано от Image)
Возвращает количество кадров указанного размера. Returns the number of frames of the specified dimension.
(Унаследовано от Image)
Служит хэш-функцией по умолчанию. Serves as the default hash function.
(Унаследовано от Object)
Возвращает дескриптор Windows расширенного объекта Metafile. Returns a Windows handle to an enhanced Metafile.
Извлекает объект обслуживания во время существования, который управляет политикой времени существования данного экземпляра. Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Унаследовано от MarshalByRefObject)
Возвращает рабочую область метаданных MetafileHeader, связанную с соединением Metafile. Returns the MetafileHeader associated with this Metafile.
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile. Returns the MetafileHeader associated with the specified Metafile.
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile. Returns the MetafileHeader associated with the specified Metafile.
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile. Returns the MetafileHeader associated with the specified Metafile.
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile. Returns the MetafileHeader associated with the specified Metafile.
Возвращает указанный элемент свойства из объекта Image. Gets the specified property item from this Image.
(Унаследовано от Image)
Возвращает эскиз для этого объекта Image. Returns a thumbnail for this Image.
(Унаследовано от Image)
Возвращает объект Type для текущего экземпляра. Gets the Type of the current instance.
(Унаследовано от Object)
Получает объект службы времени существования для управления политикой времени существования для этого экземпляра. Obtains a lifetime service object to control the lifetime policy for this instance.
(Унаследовано от MarshalByRefObject)
Создает неполную копию текущего объекта Object. Creates a shallow copy of the current Object.
(Унаследовано от Object)
Создает неполную копию текущего объекта MarshalByRefObject. Creates a shallow copy of the current MarshalByRefObject object.
(Унаследовано от MarshalByRefObject)
Воспроизводит отдельную запись метафайла. Plays an individual metafile record.
Удаляет указанный элемент свойства из этого Image. Removes the specified property item from this Image.
(Унаследовано от Image)
Поворачивает, зеркально отражает, либо поворачивает и зеркально отражает объект Image. Rotates, flips, or rotates and flips the Image.
(Унаследовано от Image)
Сохраняет данное изображение в указанный поток с заданным кодировщиком и определенными параметрами кодировщика изображения. Saves this image to the specified stream, with the specified encoder and image encoder parameters.
(Унаследовано от Image)
Сохраняет данное изображение в указанный поток в указанном формате. Saves this image to the specified stream in the specified format.
(Унаследовано от Image)
Сохраняет объект Image в указанный файл или поток. Saves this Image to the specified file or stream.
(Унаследовано от Image)
Сохраняет объект Image в указанный файл с заданным кодировщиком и определенными параметрами кодировщика изображения. Saves this Image to the specified file, with the specified encoder and image-encoder parameters.
(Унаследовано от Image)
Сохраняет объект Image в указанный файл в указанном формате. Saves this Image to the specified file in the specified format.
(Унаследовано от Image)
Добавляет кадр в файл или поток, указанный в предыдущем вызове метода Save. Adds a frame to the file or stream specified in a previous call to the Save method. Используйте данный метод для сохранения выбранных кадров из многокадрового изображения в другое многокадровое изображение. Use this method to save selected frames from a multiple-frame image to another multiple-frame image.
(Унаследовано от Image)
Добавляет кадр в файл или поток, указанный в предыдущем вызове метода Save. Adds a frame to the file or stream specified in a previous call to the Save method.
(Унаследовано от Image)
Выделяет кадр, определяемый размером и индексом. Selects the frame specified by the dimension and index.
(Унаследовано от Image)
Сохраняет элемент свойства (часть метаданных) в Image. Stores a property item (piece of metadata) in this Image.
(Унаследовано от Image)
Возвращает строку, представляющую текущий объект. Returns a string that represents the current object.
(Унаследовано от Object)
Явные реализации интерфейса
Заполняет объект SerializationInfo данными, необходимыми для сериализации целевого объекта. Populates a SerializationInfo with the data needed to serialize the target object.