#include "ltwrappr.h"
virtual L_BOOL LVectorBase::EnableRedirectStatusCallBack(bEnable=TRUE)
Enables or disables redirecting the status callback function to the bitmap objects status callback function.
Flag that indicates whether to enable redirecting the status callback function. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable redirecting status callback function. |
FALSE | Disable redirecting status callback function |
The previous setting.
If redirecting the status callback function is enabled, calling a function of any mapped class will result in the status callback function of the bitmap object being called, instead of the status callback function of the mapped class. This only works if the status callback function of the mapped class is enabled.
Required DLLs and Libraries
This Example will check Enable RedirectStatusCallBack.
L_INT LVectorBase__EnableRedirectStatusCallBack()
{
L_INT nRet;
LVectorBase Vector;
L_BOOL IsEnabled=FALSE;
//Load Vector file
nRet = Vector.Load(MAKE_IMAGE_PATH(TEXT("random.dxf")));
if(nRet != SUCCESS)
return nRet;
//Check if RedirectStatusCallBack is enabled if it is not enabled enable it
IsEnabled = Vector.IsRedirectStatusCallBackEnabled();
if(IsEnabled == TRUE)
Vector.EnableRedirectStatusCallBack(!IsEnabled);
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document