ScanFix Xpress v9.0 for .NET - Updated
ToHdib(Boolean) Method




Accusoft.ScanFixXpressSdk Namespace > ScanFix Class : ToHdib(Boolean) Method
Set true to force this component to release ownership of the DIB or false for the component to retain ownership of the DIB.
Returns the DIB containing the component's current image.
Syntax
'Declaration
 
Public Function ToHdib( _
   ByVal release As Boolean _
) As IntPtr
'Usage
 
Dim instance As ScanFix
Dim release As Boolean
Dim value As IntPtr
 
value = instance.ToHdib(release)
public IntPtr ToHdib( 
   bool release
)
public: IntPtr ToHdib( 
   bool release
) 
public:
IntPtr ToHdib( 
   bool release
) 

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.
Exceptions
ExceptionDescription
Thrown when required argument value is null.
Thrown when image type is unsupported.
Thrown when operation failed.
Remarks
If the caller wishes to take ownership of the DIB (the normal case), then the release parameter should be set to true.
See Also

Reference

ScanFix Class
ScanFix Members

Is this page helpful?
Yes No
Thanks for your feedback.