This documentation is archived and is not being maintained.

Metafile Methods

The methods of the Metafile class are listed here. For a complete list of Metafile class members, see the Metafile Members topic.

Public Methods

public methodClone (inherited from Image) Creates an exact copy of this Image object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Image) Overloaded.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetBounds (inherited from Image) Gets a bounding rectangle in the specified units for this Image object.
public methodGetEncoderParameterList (inherited from Image) Returns information about the parameters supported by the specified image encoder.
public methodGetFrameCount (inherited from Image) Returns the number of frames of the specified dimension.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetHenhmetafile Returns a Windows handle to an enhanced Metafile object.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetMetafileHeader Overloaded. Returns the MetafileHeader object associated with this Metafile object.
public methodGetPropertyItem (inherited from Image) Gets the specified property item from this Image object.
public methodGetThumbnailImage (inherited from Image) Returns a thumbnail for this Image object.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodPlayRecord Plays an individual metafile record.
public methodRemovePropertyItem (inherited from Image) Removes the specified property item from this Image object.
public methodRotateFlip (inherited from Image) This method either rotates, flips, or rotates and flips the Image object.
public methodSave (inherited from Image) Overloaded. Saves this image to the specified stream in the specified format.
public methodSaveAdd (inherited from Image) Overloaded. Adds the information in the specified Image object to this Image object. The specified EncoderParameters object determines how the new information is incorporated into the existing image.
public methodSelectActiveFrame (inherited from Image) Selects the frame specified by the dimension and index.
public methodSetPropertyItem (inherited from Image) Stores a property item (piece of metadata) in this Image object.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Metafile Class | System.Drawing.Imaging Namespace