FormFix v6.0 for .NET - Updated
ToHbitmap Method



Accusoft.FormFixSdk Namespace > FormImage Class : ToHbitmap Method
Indicates whether this method should also release the image that this object contains. Set it to true if you want this method to delete the image and to false otherwise.
Returns a new WIN32 HBITMAP handle containing a copy of the image in this object.
Syntax
'Declaration
 
Public Function ToHbitmap( _
   ByVal release As Boolean _
) As IntPtr
'Usage
 
Dim instance As FormImage
Dim release As Boolean
Dim value As IntPtr
 
value = instance.ToHbitmap(release)
public IntPtr ToHbitmap( 
   bool release
)
public:
IntPtr ToHbitmap( 
   bool release
) 

Parameters

release
Indicates whether this method should also release the image that this object contains. Set it to true if you want this method to delete the image and to false otherwise.

Return Value

A new WIN32 HBITMAP handle that contains a copy of this image.
Remarks

This method takes the image contained in this object, makes a copy of it, and returns it in the form of a WIN32 HBITMAP handle. It can optionally release the image contained in this object at the same time.

The ToHbitmap method is the fastest way to transfer images between Accusoft's components.

See Also

Reference

FormImage Class
FormImage Members
ToBitmap Method
ToHdib(Boolean) Method

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