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