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: 24.2.419.0 (24.2.419.0)
Syntax public Raster(
Bitmap bitmap
)
Public Sub New (
bitmap As Bitmap
)
public:
Raster(
Bitmap^ bitmap
)
new :
bitmap : Bitmap -> Raster
Parameters
- bitmap
- Type: System.DrawingBitmap
The
Bitmap
to create the raster from.
See Also