AtalaImageFromBitmap Method (Bitmap) |
Returns an AtalaImage containing a copy of the Bitmap.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static AtalaImage FromBitmap(
Bitmap bitmap
)
Public Shared Function FromBitmap (
bitmap As Bitmap
) As AtalaImage
Parameters
- bitmap
- Type: System.DrawingBitmap
The bitmap to create a copy from.
Return Value
Type:
AtalaImage A copy of the Bitmap data in the form of an AtalaImage object.
Remarks It's up to the caller to dispose the Bitmap. The AtalaImage object does not own the bitmap data.
See Also