Image Viewer CP ActiveX Control

Copy2HBITMAP

 

Copy the image and return Window HBITMAP value.

Public Function Copy2HBITMAP(
    ) as Long

 

No Parameter

Return Value
Return Window HBITMAP handle.


Example

   

Visual Basic Syntax
ImageViewer1.FileName="c:\test1.jpg"
bitmaphandle=ImageViewerCp1.Copy2HBITMAP