Changes a Windows device independent bitmap (DIB) to a LEAD RasterImage object.
public static RasterImage ChangeFromDib(
IntPtr hdib
)
Public Shared Function ChangeFromDib( _
ByVal hdib As IntPtr _
) As Leadtools.RasterImage
public:
static Leadtools.RasterImage^ ChangeFromDib(
IntPtr hdib
)
hdib
The DIB handle to be changed.
The newly created RasterImage object.
This method results in only one copy of the image, and it invalidates the DIB handle.
This method supports the standard DIB formats (BI_RGB and BI_BITFIELDS) as well as some FOURCC (Four Character Code) formats that some capture cards output.
The following formats are the FOURCC formats that LEADTOOLS currently supports:
This function does not support signed images.
For more information on DDBs and DIBs, refer to Using DIBs, DDBs, and the Clipboard.
For an example, refer to ChangeToDib.
RasterImageConverter.FromHBitmap
RasterImageConverter.ToHBitmap
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET