Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Metafile Members

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.

The following tables list the members exposed by the Metafile type.

  Name Description
Public method Metafile Overloaded. Initializes a new instance of the Metafile class.
Top

  Name Description
Public property Flags  Gets attribute flags for the pixel data of this Image.(inherited from Image)
Public property FrameDimensionsList  Gets an array of GUIDs that represent the dimensions of frames within this Image.(inherited from Image)
Public property Height  Gets the height, in pixels, of this Image.(inherited from Image)
Public property HorizontalResolution  Gets the horizontal resolution, in pixels per inch, of this Image.(inherited from Image)
Public property Palette  Gets or sets the color palette used for this Image.(inherited from Image)
Public property PhysicalDimension  Gets the width and height of this image.(inherited from Image)
Public property PixelFormat  Gets the pixel format for this Image.(inherited from Image)
Public property PropertyIdList  Gets IDs of the property items stored in this Image.(inherited from Image)
Public property PropertyItems  Gets all the property items (pieces of metadata) stored in this Image.(inherited from Image)
Public property RawFormat  Gets the file format of this Image.(inherited from Image)
Public property Size  Gets the width and height, in pixels, of this image.(inherited from Image)
Public property Tag  Gets or sets an object that provides additional data about the image.(inherited from Image)
Public property VerticalResolution  Gets the vertical resolution, in pixels per inch, of this Image.(inherited from Image)
Public property Width  Gets the width, in pixels, of this Image.(inherited from Image)
Top

(see also Protected Methods )
  Name Description
Public method Clone  Creates an exact copy of this Image. (inherited from Image)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Dispose  Releases all resources used by this Image. (inherited from Image)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FromFile  Overloaded. Creates an Image from the specified file. (inherited from Image)
Public method Static FromHbitmap  Overloaded. Creates a Bitmap from a Windows handle. (inherited from Image)
Public method Static FromStream  Overloaded. Creates an Image from the specified data stream. (inherited from Image)
Public method GetBounds  Gets the bounds of the image in the specified unit. (inherited from Image)
Public method GetEncoderParameterList  Returns information about the parameters supported by the specified image encoder. (inherited from Image)
Public method GetFrameCount  Returns the number of frames of the specified dimension. (inherited from Image)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetHenhmetafile Returns a Windows handle to an enhanced Metafile.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetMetafileHeader Overloaded. Returns the MetafileHeader associated with this Metafile.
Public method Static GetPixelFormatSize  Returns the color depth, in number of bits per pixel, of the specified pixel format. (inherited from Image)
Public method GetPropertyItem  Gets the specified property item from this Image. (inherited from Image)
Public method GetThumbnailImage  Returns a thumbnail for this Image. (inherited from Image)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static IsAlphaPixelFormat  Returns a value that indicates whether the pixel format for this Image contains alpha information. (inherited from Image)
Public method Static IsCanonicalPixelFormat  Returns a value that indicates whether the pixel format is 32 bits per pixel. (inherited from Image)
Public method Static IsExtendedPixelFormat  Returns a value that indicates whether the pixel format is 64 bits per pixel. (inherited from Image)
Public method PlayRecord Plays an individual metafile record.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RemovePropertyItem  Removes the specified property item from this Image. (inherited from Image)
Public method RotateFlip  This method rotates, flips, or rotates and flips the Image. (inherited from Image)
Public method Save  Overloaded. Saves this image to the specified stream in the specified format. (inherited from Image)
Public method SaveAdd  Overloaded. Adds the information in the specified Image to this Image. The specified EncoderParameters determine how the new information is incorporated into the existing image. (inherited from Image)
Public method SelectActiveFrame  Selects the frame specified by the dimension and index. (inherited from Image)
Public method SetPropertyItem  Stores a property item (piece of metadata) in this Image. (inherited from Image)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2015 Microsoft