Raster Constructor (Bitmap) |
Initializes a raster from a
.NET
Bitmap with a supported
PixelFormat.
Format8bppIndexed, Format24bppRgb, Format32bppRgb, and Format32bppArgb bitmap data are supported.
Namespace:
AGI.Foundation.Graphics.Imaging
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic Raster(
Bitmap bitmap
)
Public Sub New (
bitmap As Bitmap
)
public:
Raster(
Bitmap^ bitmap
)
new :
bitmap : Bitmap -> Raster
Parameters
- bitmap
- Type: System.Drawing.Bitmap
The
Bitmap
to create the raster from.
See Also