LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LScanner > LScanner Member Functions > LScanner::SetBitmap |
#include "ltwrappr.h"
virtual L_VOID LScanner::SetBitmap(pBitmap)
LBitmapBase * pBitmap; |
/* pointer to a bitmap object */ |
Sets the bitmap object that will hold the scanned image.
Parameter |
Description |
pBitmap |
Pointer to a bitmap object to be used in scanning. |
Returns
None.
Required DLLs and Libraries
LTKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
Example
L_INT LScanner__SetBitmapExample( HWND hWnd, LBitmapBase *pBitmap) { LScanner MyScanner ; if (MyScanner.IsValid() == FALSE) MyScanner.SetBitmap(pBitmap) ; MyScanner.SetWindow(hWnd) ; return SUCCESS; }