แก้ไข

แชร์ผ่าน


MetafileEditor Class

Definition

Important

This API is not CLS-compliant.

Provides a UITypeEditor that can perform default file searching for metafile (.emf) files.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class MetafileEditor : System::Drawing::Design::ImageEditor
public class MetafileEditor : System.Drawing.Design.ImageEditor
[System.Security.SecurityCritical]
public class MetafileEditor : System.Drawing.Design.ImageEditor
[System.CLSCompliant(false)]
public class MetafileEditor : System.Drawing.Design.ImageEditor
type MetafileEditor = class
    inherit ImageEditor
[<System.Security.SecurityCritical>]
type MetafileEditor = class
    inherit ImageEditor
[<System.CLSCompliant(false)>]
type MetafileEditor = class
    inherit ImageEditor
Public Class MetafileEditor
Inherits ImageEditor
Inheritance
Attributes

Constructors

MetafileEditor()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the MetafileEditor class.

Properties

IsDropDownResizable

Gets a value indicating whether drop-down editors should be resizable by the user.

(Inherited from UITypeEditor)

Methods

EditValue(IServiceProvider, Object)

Edits the value of the specified object using the editor style indicated by the GetEditStyle() method.

(Inherited from UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

Edits the specified object value using the edit style provided by the GetEditStyle(ITypeDescriptorContext) method.

(Inherited from ImageEditor)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEditStyle()

Gets the editor style used by the EditValue(IServiceProvider, Object) method.

(Inherited from UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

Gets the editing style of the EditValue(ITypeDescriptorContext, IServiceProvider, Object) method.

(Inherited from ImageEditor)
GetExtensions()

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the extensions for the file-list filter that this editor initially uses to filter the file list.

GetFileDialogDescription()

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the description for the default file-list filter provided by this editor.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetImageExtenders()

Gets an array of supported image types.

(Inherited from ImageEditor)
GetPaintValueSupported()

Indicates whether this editor supports painting a representation of an object's value.

(Inherited from UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

Gets a value indicating whether this editor supports painting a representation of an object's value.

(Inherited from ImageEditor)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadFromStream(Stream)

This API supports the product infrastructure and is not intended to be used directly from your code.

Loads an image from the specified stream.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PaintValue(Object, Graphics, Rectangle)

Paints a representation of the value of the specified object to the specified canvas.

(Inherited from UITypeEditor)
PaintValue(PaintValueEventArgs)

Paints a value indicated by the specified PaintValueEventArgs.

(Inherited from ImageEditor)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to