CachedBitmap(Bitmap, Graphics) Constructor
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.
Creates a device-dependent copy of bitmap
for the device settings of graphics
.
public:
CachedBitmap(System::Drawing::Bitmap ^ bitmap, System::Drawing::Graphics ^ graphics);
public CachedBitmap (System.Drawing.Bitmap bitmap, System.Drawing.Graphics graphics);
new System.Drawing.Imaging.CachedBitmap : System.Drawing.Bitmap * System.Drawing.Graphics -> System.Drawing.Imaging.CachedBitmap
Public Sub New (bitmap As Bitmap, graphics As Graphics)
Parameters
Exceptions
bitmap
or graphics
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.