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
LVDLG
LTFIL

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:

Vector Images: Modifying Vector Object Characteristics

 

Vector Common Dialogs

Example

L_INT LVectorDialog__IsAutoProcessEnabledExample(HWND hWnd)
{
   L_INT          nRet;
   LVectorBase    Vector;
   LVectorDialog  VectorDlg;
   nRet = Vector.Load(TEXT("C:\\Program Files\\LEAD Technologies, Inc\\LEADTOOLS 15.0\\Images\\test.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;
}