Represents an image which can be painted with transparency.
| C# | Visual Basic |
public sealed class TransparentBitmap : IDisposable
Public NotInheritable Class TransparentBitmap _ Implements IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| TransparentBitmap(Int32, Int32) |
Initializes a new instance of the TransparentBitmap class with the specified size.
| |
| TransparentBitmap(Int32, Int32, PixelFormat) |
Initializes a new instance of the TransparentBitmap class with the specified size and format.
| |
| TransparentBitmap(String) |
Initializes a new instance of the TransparentBitmap class from the specified file.
| |
| TransparentBitmap(Stream) |
Initializes a new instance of the TransparentBitmap class from the specified data stream.
| |
| Dispose()()()() |
Releases all resources used by this TransparentBitmap object.
| |
| Draw(Graphics, Rectangle) |
Draws the image at the specified location and with the specified size.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows a TransparentBitmap to attempt to free resources and perform other cleanup operations before the TransparentBitmap is reclaimed by garbage collection.
(Overrides Object.Finalize()()()().) | |
| FromBitmap(Bitmap) | ||
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetThumbnailImage(Int32, Int32) |
Returns a thumbnail for this TransparentBitmap.
| |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Height |
Gets or sets the height of the image in pixels.
| |
| ImplicitWideningImplicitImplicitImplicit(TransparentBitmap to Image) | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RawFormat |
Gets the file format of this Image.
| |
| Save(String, ImageCodecInfo, EncoderParameters) | ||
| Save(Stream, ImageCodecInfo, EncoderParameters) |
Saves this image to the specified stream, with the specified encoder and image encoder parameters.
| |
| Size |
Gets the width and height, in pixels, of this image.
| |
| ToString()()()() | (Inherited from Object.) | |
| Width |
Gets or sets the width of the image in pixels.
|
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows CE 5.0 and later |
| Object | |
| TransparentBitmap | |