LBase::IsAutoErrorDisplayEnabled

Summary

Indicates whether automatic error display is enabled or not.

Syntax

#include "ltwrappr.h"

static L_BOOL LBase::IsAutoErrorDisplayEnabled ()

Returns

Value Meaning
TRUE Automatic error display is enabled.
FALSE Automatic error display is disabled.

Comments

Call this function to check whether automatic error display is enabled or not. The internal error list maintains a running list of the errors that have occurred in the LEADTOOLS C++ Class Library functions.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

L_INT LBase__IsAutoErrorDisplayEnabledExample() 
{ 
	L_INT nRet; 
	LBitmap MyBitmap; 
 
	MyBitmap.Load(MAKE_IMAGE_PATH(TEXT("Image1.cmp"))); 
	if(LBase::IsAutoErrorDisplayEnabled()==FALSE) 
		LBase::EnableAutoErrorDisplay(TRUE); 
 
	nRet = MyBitmap.AddNoise();      //now if an error occurs it will be automatically displayed. 
	if(nRet != SUCCESS) 
		return nRet; 
 
	return SUCCESS; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.