LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorDialog > LVectorDialog Class Members > LVectorDialog::IsAutoProcessEnabled |
#include "ltwrappr.h"
L_BOOL LVectorDialog::IsAutoProcessEnabled(L_VOID)const
Determines whether auto processing is enabled or disabled.
Returns
TRUE |
Auto processing is enabled. |
FALSE |
Auto processing is disabled. |
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LVectorDialog::LVectorDialog, LVectorDialog::EnableAutoProcess, Class Members |
Topics: |
|
|
Example
#define MAKE_IMAGE_PATH(pFileName) TEXT("C:\\Users\\Public\\Documents\\LEADTOOLS Images\\")pFileName L_INT LVectorDialog__IsAutoProcessEnabledExample(HWND hWnd) { L_INT nRet; LVectorBase Vector; LVectorDialog VectorDlg; nRet = Vector.Load(MAKE_IMAGE_PATH(TEXT("random.dxf"))); if(nRet != SUCCESS) return nRet; VectorDlg.SetVector(&Vector); if (VectorDlg.IsPreviewEnabled()) MessageBox(hWnd, TEXT("IsPreviewEnabled() returns TRUE"), TEXT(""), MB_OK); else MessageBox(hWnd, TEXT("IsPreviewEnabled() returns FALSE"), TEXT(""), MB_OK); if (VectorDlg.IsAutoProcessEnabled()) MessageBox(hWnd, TEXT("IsAutoProcessEnabled() returns TRUE"), TEXT(""), MB_OK); else MessageBox(hWnd, TEXT("IsAutoProcessEnabled() returns FALSE"), TEXT(""), MB_OK); return SUCCESS; }