Image Viewer CP ActiveX Control x64 ReferenceMethods Copy2HBITMAP Image Viewer CP ActiveX Control Copy2HBITMAP Copy the image and return Window HBITMAP value. Public Function Copy2HBITMAP( ) as Long No ParameterReturn ValueReturn Window HBITMAP handle. Example Visual Basic SyntaxImageViewer1.FileName="c:\test1.jpg"bitmaphandle=ImageViewerCp1.Copy2HBITMAP