Accusoft.FormFixSdk Namespace > FormImage Class > FromHdib Method : FromHdib(IntPtr,FormFix) Method |
'Declaration Public Overloads Shared Function FromHdib( _ ByVal dib As IntPtr, _ ByVal workspace As FormFix _ ) As FormImage
'Usage Dim dib As IntPtr Dim workspace As FormFix Dim value As FormImage value = FormImage.FromHdib(dib, workspace)
public: static FormImage* FromHdib( IntPtr dib, FormFix* workspace )
public: static FormImage^ FromHdib( IntPtr dib, FormFix^ workspace )
The copy of the image held by the FormImage object will be disposed of properly during disposal of the FormImage object. The disposal of the original image passed into this method is the responsibiltity of the calling code. Disposal of the original image passed into this method can be performed immediately after this method has executed.
To create a new FormImage without creating a copy of the original HDIB, use the FromHdib(IntPtr,Boolean,FormFix) overload. Using that overload, the FormImage object can be configured to dispose of the original image passed into the method.