Bitmap Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodClone()

Creates an exact copy of this Image.(Inherited from Image.)

System_CAPS_pubmethodClone(Rectangle, PixelFormat)

Creates a copy of the section of this Bitmap defined by Rectangle structure and with a specified PixelFormat enumeration.

System_CAPS_pubmethodClone(RectangleF, PixelFormat)

Creates a copy of the section of this Bitmap defined with a specified PixelFormat enumeration.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by this Image.(Inherited from Image.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromHicon(IntPtr)

Creates a Bitmap from a Windows handle to an icon.

System_CAPS_pubmethodSystem_CAPS_staticFromResource(IntPtr, String)

Creates a Bitmap from the specified Windows resource.

System_CAPS_pubmethodGetBounds(GraphicsUnit)

Gets the bounds of the image in the specified unit.(Inherited from Image.)

System_CAPS_pubmethodGetEncoderParameterList(Guid)

Returns information about the parameters supported by the specified image encoder.(Inherited from Image.)

System_CAPS_pubmethodGetFrameCount(FrameDimension)

Returns the number of frames of the specified dimension.(Inherited from Image.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetHbitmap()

Creates a GDI bitmap object from this Bitmap.

System_CAPS_pubmethodGetHbitmap(Color)

Creates a GDI bitmap object from this Bitmap.

System_CAPS_pubmethodGetHicon()

Returns the handle to an icon.

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetPixel(Int32, Int32)

Gets the color of the specified pixel in this Bitmap.

System_CAPS_pubmethodGetPropertyItem(Int32)

Gets the specified property item from this Image.(Inherited from Image.)

System_CAPS_pubmethodGetThumbnailImage(Int32, Int32, Image.GetThumbnailImageAbort, IntPtr)

Returns a thumbnail for this Image.(Inherited from Image.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodLockBits(Rectangle, ImageLockMode, PixelFormat)

Locks a Bitmap into system memory.

System_CAPS_pubmethodLockBits(Rectangle, ImageLockMode, PixelFormat, BitmapData)

Locks a Bitmap into system memory

System_CAPS_pubmethodMakeTransparent()

Makes the default transparent color transparent for this Bitmap.

System_CAPS_pubmethodMakeTransparent(Color)

Makes the specified color transparent for this Bitmap.

System_CAPS_pubmethodRemovePropertyItem(Int32)

Removes the specified property item from this Image.(Inherited from Image.)

System_CAPS_pubmethodRotateFlip(RotateFlipType)

Rotates, flips, or rotates and flips the Image.(Inherited from Image.)

System_CAPS_pubmethodSave(Stream, ImageCodecInfo, EncoderParameters)

Saves this image to the specified stream, with the specified encoder and image encoder parameters.(Inherited from Image.)

System_CAPS_pubmethodSave(Stream, ImageFormat)

Saves this image to the specified stream in the specified format.(Inherited from Image.)

System_CAPS_pubmethodSave(String)

Saves this Image to the specified file or stream.(Inherited from Image.)

System_CAPS_pubmethodSave(String, ImageCodecInfo, EncoderParameters)

Saves this Image to the specified file, with the specified encoder and image-encoder parameters.(Inherited from Image.)

System_CAPS_pubmethodSave(String, ImageFormat)

Saves this Image to the specified file in the specified format.(Inherited from Image.)

System_CAPS_pubmethodSaveAdd(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.(Inherited from Image.)

System_CAPS_pubmethodSaveAdd(Image, EncoderParameters)

Adds a frame to the file or stream specified in a previous call to the Save method.(Inherited from Image.)

System_CAPS_pubmethodSelectActiveFrame(FrameDimension, Int32)

Selects the frame specified by the dimension and index.(Inherited from Image.)

System_CAPS_pubmethodSetPixel(Int32, Int32, Color)

Sets the color of the specified pixel in this Bitmap.

System_CAPS_pubmethodSetPropertyItem(PropertyItem)

Stores a property item (piece of metadata) in this Image.(Inherited from Image.)

System_CAPS_pubmethodSetResolution(Single, Single)

Sets the resolution for this Bitmap.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUnlockBits(BitmapData)

Unlocks this Bitmap from system memory.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.(Inherited from Image.)

Return to top
Show: