Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapWindow::EnablePaintWhileLoad

Show in webframe

#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
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

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:

Class Members

Topics:

Raster Image Functions: Loading Files

 

Raster Image Functions: Input and Output

 

Loading and Saving Images

Example

L_INT LBitmapWindow__EnablePaintWhileLoadExample(LBitmapWindow& BmpWnd)
{
   
   if(BmpWnd.IsPaintWhileLoadEnabled()==FALSE)
      BmpWnd.EnablePaintWhileLoad(TRUE);
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.