Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- release
- Set true to force this component to release ownership of the DIB or false for the component to retain ownership of the DIB.
Return Value
Handle to a DIB containing the current image.Exception | Description |
---|---|
System.ArgumentNullException | Thrown when required argument value is null. |
ScanFixUnsupportedImageException | Thrown when image type is unsupported. |
ScanFixException | Thrown when operation failed. |
If the caller wishes to take ownership of the DIB (the normal case), then the release parameter should be set to true.