LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

ChangeFromDib Method






The DIB handle to be changed.
Changes a Windows device independent bitmap (DIB) to a LEAD RasterImage object. .NET support
Syntax
public static RasterImage ChangeFromDib( 
   IntPtr hdib
)
'Declaration
 
Public Shared Function ChangeFromDib( _
   ByVal hdib As IntPtr _
) As RasterImage
'Usage
 
Dim hdib As IntPtr
Dim value As RasterImage
 
value = RasterImage.ChangeFromDib(hdib)
public static RasterImage ChangeFromDib( 
   IntPtr hdib
)
 function Leadtools.RasterImage.ChangeFromDib( 
   hdib 
)
public:
static RasterImage^ ChangeFromDib( 
   IntPtr hdib
) 

Parameters

hdib
The DIB handle to be changed.

Return Value

The newly created RasterImage object.
Remarks

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.

Example
For an example, refer to ChangeToDib.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members
FromDib(IntPtr) Method
FromDibArray Method
ToDibArray Method
RasterImageConverter.FromHBitmap
ToDib Method
RasterImageConverter.ToHBitmap
RasterImageConverter.ChangeFromHBitmap
ChangeToDib Method
RasterImageConverter.ChangeToHBitmap

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.