CachedBitmap Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class CachedBitmap sealed : IDisposable
public sealed class CachedBitmap : IDisposable
type CachedBitmap = class
interface IDisposable
Public NotInheritable Class CachedBitmap
Implements IDisposable
- Inheritance
-
CachedBitmap
- Implements
Remarks
CachedBitmap matches the current bit depth of the Graphics's device. If the device bit depth changes, the CachedBitmap will no longer be usable and a new instance will need to be created that matches. If the CachedBitmap was created against Format32bppRgb it will always work.
CachedBitmap will not work with any transformations other than translation.
CachedBitmap cannot be used to draw to a printer or metafile.
Constructors
CachedBitmap(Bitmap, Graphics) |
Creates a device-dependent copy of |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET