Accusoft.ThumbnailXpressSdk Namespace > ThumbnailItem Class : ToHdib(ToHdibMethod) Method |
'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 )
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