LVectorWindow::IsAutoPaintEnabled

Summary

Determines whether the vector window painting is enabled.

Syntax

#include "ltwrappr.h"

L_BOOL LVectorWindow::IsAutoPaintEnabled(L_VOID)

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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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