Create image from Windows Bitmap
Visual Basic |
---|
Public Sub OpenFromBitmap( _ ByVal hBitmap As Long _ ) |
hBitmap points either to a Windows Device Dependent Bitmap (DDB) or Device Independent Bitmap (DIB).
Sub T_Bitmap(ByRef Img As CiImage) Dim hBitmap ' DDB test hBitmap = Img.SaveToBitmap Img.Clear Img.OpenFromBitmap hBitmap End Sub Sub T_Dib(ByRef Img As CiImage) Dim hDib ' DIB test hDib = Img.SaveToDIB Img.Clear Img.OpenFromBitmap hDib End Sub