Accusoft.ThumbnailXpress6.Net
ToHdib(ToHdibMethod) Method




The method used to return the DIB.
This returns a handle to a device independent bitmap copy of the thumbnail image. Returns null if item is a directory.
Syntax
'Declaration
 
Public Function ToHdib( _
   ByVal method As ToHdibMethod _
) As IntPtr
'Usage
 
Dim instance As ThumbnailItem
Dim method As ToHdibMethod
Dim value As IntPtr
 
value = instance.ToHdib(method)
public IntPtr ToHdib( 
   ToHdibMethod method
)
public: IntPtr ToHdib( 
   ToHdibMethod method
) 
public:
IntPtr ToHdib( 
   ToHdibMethod method
) 

Parameters

method
The method used to return the DIB.

Return Value

The hdib.
Remarks

It is the caller's responsibility to free the hDib.

Attempting to access this method for an item whose image is currently being generated due to the item having been added to or inserted into the ThumbnailItemCollection will invoke an System.InvalidOperationException. In this situation, use the ThumbnailXpressEvents.ItemCompleteEventHandler event to determine when an item's image has completed being generated before attempting to access its image data

See Also

Reference

ThumbnailItem Class
ThumbnailItem Members
Bitmap Property
ToHbitmap Method

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback