Parameters
- bitmap
- The image to copy into the new object.
- workspace
- A reference to the FormFix workspace object.
Return Value
A new FormImage object that contains a copy of the original image.
This method accepts a System.Drawing.Bitmap (or a System.Drawing.Image which has been cast to a System.Drawing.Bitmap) and creates a new FormImage object that contains a copy of that image. The bitmap must contain a binary (1 bit per pixel) image.
The overloaded FromHdib(IntPtr, FormFix) and FromHdib(IntPtr, Boolean, FormFix) methods are the fastest way to transfer images between Accusoft's components.