Returns the DIB containing the component's current image.
Visual Basic |
---|
Public Function ToHdib2( _ ByVal method As SF_ToHdibMethod _ ) As Integer |
- method
Value Description SF_ToHdibMethod_ReturnDuplicate Returns copy of current internal DIB image. The caller will have ownership of the returned image and must release its memory. SF_ToHdibMethod_TransferInternalHdib Returns current internal DIB image from ScanFix to caller. The caller takes ownership of the returned image and must release its memory.
Note: It is the responsibility of the caller to free this resource when when analysis is complete and the DIB is no longer needed. This can be accomplished by calling the GlobalFree method and passing in the return value from this method.