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.
public ref class Metafile sealed : System::Drawing::Image
public sealed class Metafile : System.Drawing.Image
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public sealed class Metafile : System.Drawing.Image
[System.Serializable]
public sealed class Metafile : System.Drawing.Image
type Metafile = class
inherit Image
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type Metafile = class
inherit Image
[<System.Serializable>]
type Metafile = class
inherit Image
Public NotInheritable Class Metafile
Inherits Image
- Наследование
- Атрибуты
Примеры
В следующем примере кода показано, как создать Metafile и использовать PlayRecord метод.The following code example demonstrates how to create a Metafile and use the PlayRecord method.
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
// for Marshal.Copy
using System.Runtime.InteropServices;
public class Form1 : Form
{
private Metafile metafile1;
private Graphics.EnumerateMetafileProc metafileDelegate;
private Point destPoint;
public Form1()
{
metafile1 = new Metafile(@"C:\Test.wmf");
metafileDelegate = new Graphics.EnumerateMetafileProc(MetafileCallback);
destPoint = new Point(20, 10);
}
protected override void OnPaint(PaintEventArgs e)
{
e.Graphics.EnumerateMetafile(metafile1, destPoint, metafileDelegate);
}
private bool MetafileCallback(
EmfPlusRecordType recordType,
int flags,
int dataSize,
IntPtr data,
PlayRecordCallback callbackData)
{
byte[] dataArray = null;
if (data != IntPtr.Zero)
{
// Copy the unmanaged record to a managed byte buffer
// that can be used by PlayRecord.
dataArray = new byte[dataSize];
Marshal.Copy(data, dataArray, 0, dataSize);
}
metafile1.PlayRecord(recordType, flags, dataSize, dataArray);
return true;
}
static void Main()
{
Application.Run(new Form1());
}
}
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.Windows.Forms
' for Marshal.Copy
Imports System.Runtime.InteropServices
Public Class Form1
Inherits Form
Private metafile1 As Metafile
Private metafileDelegate As Graphics.EnumerateMetafileProc
Private destPoint As Point
Public Sub New()
metafile1 = New Metafile("C:\test.wmf")
metafileDelegate = New Graphics.EnumerateMetafileProc(AddressOf MetafileCallback)
destPoint = New Point(20, 10)
End Sub
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
e.Graphics.EnumerateMetafile(metafile1, destPoint, metafileDelegate)
End Sub
Private Function MetafileCallback(ByVal recordType As _
EmfPlusRecordType, ByVal flags As Integer, ByVal dataSize As Integer, _
ByVal data As IntPtr, ByVal callbackData As PlayRecordCallback) As Boolean
Dim dataArray As Byte() = Nothing
If data <> IntPtr.Zero Then
' Copy the unmanaged record to a managed byte buffer
' that can be used by PlayRecord.
dataArray = New Byte(dataSize) {}
Marshal.Copy(data, dataArray, 0, dataSize)
End If
metafile1.PlayRecord(recordType, flags, dataSize, dataArray)
Return True
End Function
Shared Sub Main()
Application.Run(New Form1())
End Sub
End Class
Комментарии
При использовании 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+GDI+ компонент не .NET Framework.NET Framework имеет кодировщика, который можно использовать для сохранения файлов в формате WMF или EMF.This behavior occurs because the GDI+GDI+ component of the .NET Framework.NET Framework does not have an encoder that you can use to save files as .wmf or .emf files.
Конструкторы
Metafile(IntPtr, Boolean) |
Инициализирует новый экземпляр класса Metafile из указанного дескриптора.Initializes a new instance of the Metafile class from the specified handle. |
Metafile(IntPtr, EmfType) |
Инициализирует новый экземпляр класса 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(IntPtr, EmfType, String) |
Инициализирует новый экземпляр класса 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(IntPtr, Rectangle) |
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником.Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle. |
Metafile(IntPtr, Rectangle, MetafileFrameUnit) |
Инициализация нового экземпляра класса 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(IntPtr, Rectangle, MetafileFrameUnit, EmfType) |
Инициализация нового экземпляра класса 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(IntPtr, Rectangle, MetafileFrameUnit, EmfType, String) |
Инициализация нового экземпляра класса 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(IntPtr, RectangleF) |
Инициализация нового экземпляра класса Metafile из указанного контекста устройства, ограниченного указанным прямоугольником.Initializes a new instance of the Metafile class from the specified device context, bounded by the specified rectangle. |
Metafile(IntPtr, RectangleF, MetafileFrameUnit) |
Инициализация нового экземпляра класса 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(IntPtr, RectangleF, MetafileFrameUnit, EmfType) |
Инициализация нового экземпляра класса 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(IntPtr, RectangleF, MetafileFrameUnit, EmfType, String) |
Инициализация нового экземпляра класса 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(IntPtr, WmfPlaceableFileHeader) |
Инициализация нового экземпляра класса Metafile из указанного дескриптора и заголовка WmfPlaceableFileHeader.Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader. |
Metafile(IntPtr, WmfPlaceableFileHeader, Boolean) |
Инициализация нового экземпляра класса Metafile из указанного дескриптора и заголовка WmfPlaceableFileHeader.Initializes a new instance of the Metafile class from the specified handle and a WmfPlaceableFileHeader. Также для удаления дескриптора при удалении метафайла можно использовать параметр |
Metafile(Stream) |
Инициализирует новый экземпляр класса Metafile из указанного потока данных.Initializes a new instance of the Metafile class from the specified data stream. |
Metafile(Stream, IntPtr) |
Инициализирует новый экземпляр класса Metafile из указанного потока данных.Initializes a new instance of the Metafile class from the specified data stream. |
Metafile(Stream, IntPtr, EmfType) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, EmfType, String) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, Rectangle) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, Rectangle, MetafileFrameUnit) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, RectangleF) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, RectangleF, MetafileFrameUnit) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType) |
Инициализация нового экземпляра класса 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(Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String) |
Инициализация нового экземпляра класса 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(String) |
Инициализирует новый экземпляр класса Metafile из указанного имени файла.Initializes a new instance of the Metafile class from the specified file name. |
Metafile(String, IntPtr) |
Инициализирует новый экземпляр класса Metafile c указанным именем файла.Initializes a new instance of the Metafile class with the specified file name. |
Metafile(String, IntPtr, EmfType) |
Инициализация нового экземпляра класса 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(String, IntPtr, EmfType, String) |
Инициализация нового экземпляра класса 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(String, IntPtr, Rectangle) |
Инициализация нового экземпляра класса 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(String, IntPtr, Rectangle, MetafileFrameUnit) |
Инициализация нового экземпляра класса 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(String, IntPtr, Rectangle, MetafileFrameUnit, EmfType) |
Инициализация нового экземпляра класса 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(String, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String) |
Инициализация нового экземпляра класса 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(String, IntPtr, Rectangle, MetafileFrameUnit, String) |
Инициализация нового экземпляра класса 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(String, IntPtr, RectangleF) |
Инициализация нового экземпляра класса 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(String, IntPtr, RectangleF, MetafileFrameUnit) |
Инициализация нового экземпляра класса 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(String, IntPtr, RectangleF, MetafileFrameUnit, EmfType) |
Инициализация нового экземпляра класса 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(String, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String) |
Инициализация нового экземпляра класса 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(String, IntPtr, RectangleF, MetafileFrameUnit, String) |
Инициализация нового экземпляра класса 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. |
Свойства
Flags |
Возвращает флаги атрибутов для пиксельных данных этого объекта Image.Gets attribute flags for the pixel data of this Image. (Унаследовано от Image) |
FrameDimensionsList |
Возвращает массив идентификаторов GUID, представляющих размеры кадров в объекте Image.Gets an array of GUIDs that represent the dimensions of frames within this Image. (Унаследовано от Image) |
Height |
Возвращает высоту объекта Image в пикселях.Gets the height, in pixels, of this Image. (Унаследовано от Image) |
HorizontalResolution |
Возвращает горизонтальное разрешение объекта Image в пикселях на дюйм.Gets the horizontal resolution, in pixels per inch, of this Image. (Унаследовано от Image) |
Palette |
Возвращает или задает палитру цветов, используемую для объекта Image.Gets or sets the color palette used for this Image. (Унаследовано от Image) |
PhysicalDimension |
Возвращает ширину и высоту данного изображения.Gets the width and height of this image. (Унаследовано от Image) |
PixelFormat |
Возвращает формат пикселей для этого объекта Image.Gets the pixel format for this Image. (Унаследовано от Image) |
PropertyIdList |
Возвращает идентификаторы элементов свойств, хранящихся в объекте Image.Gets IDs of the property items stored in this Image. (Унаследовано от Image) |
PropertyItems |
Возвращает все элементы свойств (части метаданных), хранящихся в объекте Image.Gets all the property items (pieces of metadata) stored in this Image. (Унаследовано от Image) |
RawFormat |
Возвращает формат файла этого объекта Image.Gets the file format of this Image. (Унаследовано от Image) |
Size |
Возвращает ширину и высоту изображения в пикселях.Gets the width and height, in pixels, of this image. (Унаследовано от Image) |
Tag |
Возвращает или задает объект, предоставляющий дополнительные данные об изображении.Gets or sets an object that provides additional data about the image. (Унаследовано от Image) |
VerticalResolution |
Возвращает вертикальное разрешение объекта Image в пикселях на дюйм.Gets the vertical resolution, in pixels per inch, of this Image. (Унаследовано от Image) |
Width |
Возвращает ширину объекта Image в пикселях.Gets the width, in pixels, of this Image. (Унаследовано от Image) |
Методы
Clone() |
Создает точную копию данного объекта Image.Creates an exact copy of this Image. (Унаследовано от Image) |
CreateObjRef(Type) |
Создает объект, который содержит всю необходимую информацию для создания прокси-сервера, используемого для взаимодействия с удаленным объектом.Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Унаследовано от MarshalByRefObject) |
Dispose() |
Освобождает все ресурсы, используемые этим объектом Image.Releases all resources used by this Image. (Унаследовано от Image) |
Dispose(Boolean) |
Освобождает неуправляемые ресурсы, используемые объектом Image, а при необходимости освобождает также управляемые ресурсы.Releases the unmanaged resources used by the Image and optionally releases the managed resources. (Унаследовано от Image) |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetBounds(GraphicsUnit) |
Возвращает границы изображения в указанных единицах измерения.Gets the bounds of the image in the specified unit. (Унаследовано от Image) |
GetEncoderParameterList(Guid) |
Возвращает информацию о параметрах, поддерживаемых указанным кодировщиком изображения.Returns information about the parameters supported by the specified image encoder. (Унаследовано от Image) |
GetFrameCount(FrameDimension) |
Возвращает количество кадров указанного размера.Returns the number of frames of the specified dimension. (Унаследовано от Image) |
GetHashCode() |
Служит хэш-функцией по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetHenhmetafile() |
Возвращает дескриптор Windows расширенного объекта Metafile.Returns a Windows handle to an enhanced Metafile. |
GetLifetimeService() |
Извлекает объект обслуживания во время существования, который управляет политикой времени существования данного экземпляра.Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Унаследовано от MarshalByRefObject) |
GetMetafileHeader() |
Возвращает рабочую область метаданных MetafileHeader, связанную с соединением Metafile.Returns the MetafileHeader associated with this Metafile. |
GetMetafileHeader(IntPtr) |
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile.Returns the MetafileHeader associated with the specified Metafile. |
GetMetafileHeader(IntPtr, WmfPlaceableFileHeader) |
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile.Returns the MetafileHeader associated with the specified Metafile. |
GetMetafileHeader(Stream) |
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile.Returns the MetafileHeader associated with the specified Metafile. |
GetMetafileHeader(String) |
Возвращает объект MetafileHeader, связанный с заданным объектом Metafile.Returns the MetafileHeader associated with the specified Metafile. |
GetPropertyItem(Int32) |
Возвращает указанный элемент свойства из объекта Image.Gets the specified property item from this Image. (Унаследовано от Image) |
GetThumbnailImage(Int32, Int32, Image+GetThumbnailImageAbort, IntPtr) |
Возвращает эскиз для этого объекта Image.Returns a thumbnail for this Image. (Унаследовано от Image) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
InitializeLifetimeService() |
Получает объект службы времени существования для управления политикой времени существования для этого экземпляра.Obtains a lifetime service object to control the lifetime policy for this instance. (Унаследовано от MarshalByRefObject) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
MemberwiseClone(Boolean) |
Создает неполную копию текущего объекта MarshalByRefObject.Creates a shallow copy of the current MarshalByRefObject object. (Унаследовано от MarshalByRefObject) |
PlayRecord(EmfPlusRecordType, Int32, Int32, Byte[]) |
Воспроизводит отдельную запись метафайла.Plays an individual metafile record. |
RemovePropertyItem(Int32) |
Удаляет указанный элемент свойства из этого Image.Removes the specified property item from this Image. (Унаследовано от Image) |
RotateFlip(RotateFlipType) |
Поворачивает, зеркально отражает, либо поворачивает и зеркально отражает объект Image.Rotates, flips, or rotates and flips the Image. (Унаследовано от Image) |
Save(Stream, ImageCodecInfo, EncoderParameters) |
Сохраняет данное изображение в указанный поток с заданным кодировщиком и определенными параметрами кодировщика изображения.Saves this image to the specified stream, with the specified encoder and image encoder parameters. (Унаследовано от Image) |
Save(Stream, ImageFormat) |
Сохраняет данное изображение в указанный поток в указанном формате.Saves this image to the specified stream in the specified format. (Унаследовано от Image) |
Save(String) |
Сохраняет объект Image в указанный файл или поток.Saves this Image to the specified file or stream. (Унаследовано от Image) |
Save(String, ImageCodecInfo, EncoderParameters) |
Сохраняет объект Image в указанный файл с заданным кодировщиком и определенными параметрами кодировщика изображения.Saves this Image to the specified file, with the specified encoder and image-encoder parameters. (Унаследовано от Image) |
Save(String, ImageFormat) |
Сохраняет объект Image в указанный файл в указанном формате.Saves this Image to the specified file in the specified format. (Унаследовано от Image) |
SaveAdd(EncoderParameters) |
Добавляет кадр в файл или поток, указанный в предыдущем вызове метода 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) |
SaveAdd(Image, EncoderParameters) |
Добавляет кадр в файл или поток, указанный в предыдущем вызове метода Save.Adds a frame to the file or stream specified in a previous call to the Save method. (Унаследовано от Image) |
SelectActiveFrame(FrameDimension, Int32) |
Выделяет кадр, определяемый размером и индексом.Selects the frame specified by the dimension and index. (Унаследовано от Image) |
SetPropertyItem(PropertyItem) |
Сохраняет элемент свойства (часть метаданных) в Image.Stores a property item (piece of metadata) in this Image. (Унаследовано от Image) |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |
Явные реализации интерфейса
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Заполняет объект SerializationInfo данными, необходимыми для сериализации целевого объекта.Populates a SerializationInfo with the data needed to serialize the target object. (Унаследовано от Image) |