LVectorWindow::IsAutoPaintEnabled

#include "ltwrappr.h"

L_BOOL LVectorWindow::IsAutoPaintEnabled(L_VOID)

Determines whether the vector window painting is enabled.

Returns

Value Meaning
TRUE Vector window painting is enabled.
FALSE Vector window painting is disabled.

Required DLLs and Libraries

See Also

Functions

Example

Toggles (enable/disable) the AutoPaint feature Assumes pVectorWindow points to a valid LVectorWindow object

L_INT LVectorWindow__IsAutoPaintEnabledExample(HWND hWndParent, LVectorWindow *pVectorWindow) 
{ 
   pVectorWindow->EnableAutoPaint( !pVectorWindow->IsAutoPaintEnabled()); 
 
   if (pVectorWindow->IsAutoPaintEnabled()) 
      SetWindowText(hWndParent, TEXT("AutoPaint Enabled")); 
   else 
      SetWindowText(hWndParent, TEXT("AutoPaint Disabled")); 
 
   return SUCCESS; 
} 

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help