Bitmap Methods |
The Bitmap type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clone |
Creates a clone of the bitmap
|
![]() ![]() | FromResource(String, Assembly) |
Loads a bitmap from the resource in the specified or caller's assembly
|
![]() ![]() | FromResource(String, Type) |
Loads a bitmap from a resource in the same assembly as the specified type |
![]() | GetPixel(Point) |
Gets the color of the pixel at the specified position |
![]() | GetPixel(Int32, Int32) |
Gets the color of the pixel at the specified coordinates.
|
![]() | Lock |
Locks the data of the image to directly access the bytes of the image
|
![]() | Save(Stream, ImageFormat) |
Saves the bitmap to a stream in the specified format
|
![]() | Save(String, ImageFormat) |
Saves the bitmap to a file in the specified format
|
![]() | SetPixel(Point, Color) |
Sets the pixel color at the specified position.
|
![]() | SetPixel(Int32, Int32, Color) |
Sets the color of the pixel at the specified coordinates.
|
![]() | ToByteArray |
Saves the bitmap to an image of the specified imageFormat into a byte array
|
![]() | WithSize(Size) |
Gets an Icon representation of this Bitmap scaled to draw within the specified fitting size.
|
![]() | WithSize(Int32, Int32) |
Gets an Icon representation of this Bitmap scaled to draw within the specified fitting size.
|