Export (0) Print
Expand All

Image Methods

The Image type exposes the following members.

  Name Description
Public method Clone Creates an exact copy of this 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.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Image and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public method Static member FromFile(String) Creates an Image from the specified file.
Public method Static member FromFile(String, Boolean) Creates an Image from the specified file using embedded color management information in that file.
Public method Static member FromHbitmap(IntPtr) Creates a Bitmap from a handle to a GDI bitmap.
Public method Static member FromHbitmap(IntPtr, IntPtr) Creates a Bitmap from a handle to a GDI bitmap and a handle to a GDI palette.
Public method Static member FromStream(Stream) Creates an Image from the specified data stream.
Public method Static member FromStream(Stream, Boolean) Creates an Image from the specified data stream, optionally using embedded color management information in that stream.
Public method Static member FromStream(Stream, Boolean, Boolean) Creates an Image from the specified data stream, optionally using embedded color management information and validating the image data.
Public method GetBounds Gets the bounds of the image in the specified unit.
Public method GetEncoderParameterList Returns information about the parameters supported by the specified image encoder.
Public method GetFrameCount Returns the number of frames of the specified dimension.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static member GetPixelFormatSize Returns the color depth, in number of bits per pixel, of the specified pixel format.
Public method GetPropertyItem Gets the specified property item from this Image.
Public method GetThumbnailImage Returns a thumbnail for this 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 member IsAlphaPixelFormat Returns a value that indicates whether the pixel format for this Image contains alpha information.
Public method Static member IsCanonicalPixelFormat Returns a value that indicates whether the pixel format is 32 bits per pixel.
Public method Static member IsExtendedPixelFormat Returns a value that indicates whether the pixel format is 64 bits per pixel.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method RemovePropertyItem Removes the specified property item from this Image.
Public method RotateFlip Rotates, flips, or rotates and flips the Image.
Public method Save(String) Saves this Image to the specified file or stream.
Public method Save(Stream, ImageFormat) Saves this image to the specified stream in the specified format.
Public method Save(String, ImageFormat) Saves this Image to the specified file in the specified format.
Public method Save(Stream, ImageCodecInfo, EncoderParameters) Saves this image to the specified stream, with the specified encoder and image encoder parameters.
Public method Save(String, ImageCodecInfo, EncoderParameters) Saves this Image to the specified file, with the specified encoder and image-encoder parameters.
Public method SaveAdd(EncoderParameters) 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.
Public method SaveAdd(Image, EncoderParameters) Adds a frame to the file or stream specified in a previous call to the Save method.
Public method SelectActiveFrame Selects the frame specified by the dimension and index.
Public method SetPropertyItem Stores a property item (piece of metadata) in this Image.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
Top
Show:
© 2014 Microsoft