Returns the DIB containing the component's current image.
Visual Basic |
---|
Public Function ToHdib( _ ByVal release As Boolean _ ) As Integer |
- release
- Set to True, this parameter forces this component to release ownership of the DIB; set to False, the component retains ownership of the DIB.
If the caller wishes to take ownership of the DIB (the normal case), then the release parameter should be set to True.
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.