Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#include "ltwrappr.h"
L_BOOL LBitmapWindow::EnablePaintWhileLoad(bEnable)
L_BOOL bEnable; |
/* flag that indicates whether PaintWhileLoad is enabled */ |
Enables or disables painting the bitmap while loading.
Parameter |
Description |
|
bEnable |
Flag that indicates whether painting the bitmap while loading is enabled or disabled. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Enable painting the bitmap while loading. |
|
FALSE |
Disable painting the bitmap while loading. |
Returns
The previous setting.
Comments
When PaintWhileLoad is enabled, the class object will display the bitmap as it is loaded, when using the Load functions.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64.
See Also
Functions: |
|
Topics: |
|
|
|
|
Example
L_INT LBitmapWindow__EnablePaintWhileLoadExample(LBitmapWindow& BmpWnd) { if(BmpWnd.IsPaintWhileLoadEnabled()==FALSE) BmpWnd.EnablePaintWhileLoad(TRUE); return SUCCESS; }