RasterAttributes Constructor (Bitmap) |
Initializes a new instance 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.3.420.0 (24.3.420.0)
Syntax public RasterAttributes(
Bitmap bitmap
)
Public Sub New (
bitmap As Bitmap
)
public:
RasterAttributes(
Bitmap^ bitmap
)
new :
bitmap : Bitmap -> RasterAttributes
Parameters
- bitmap
- Type: System.DrawingBitmap
The
Bitmap
to create the attributes from.
See Also