Accusoft.ThumbnailXpress5.Net
ToHbitmap Method
See Also  Send Feedback
Accusoft.ThumbnailXpressSdk Namespace > ThumbnailItem Class : ToHbitmap Method




Glossary Item Box

This returns a handle to a device dependent bitmap copy of the thumbnail image. Returns null if item is a directory.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Return Value

The HBitmap.

Remarks

A device dependent bitmap is also referred to as a GDI bitmap in some documentation sources.

It is the caller's responsibility to free the HBitmap. The member function DisposeHbitmap has been provided for this purpose

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

©2013. Accusoft Corporation. All Rights Reserved.