clsDIBSection.CloneFromHBmp MethodCreates a DIB section from a bitmap handle, use PictureBox.Picture.Handle if you use VB6 controlsSyntax
Public Sub CloneFromHBmp (ByVal hBmp As Long, _
Optional ByVal bPP As eBppType = bpp_24, _ Optional ByRef cPal As clsPalette = Nothing) Parameters
Remarks
In this sample we'll countour an image
Option Explicit |