Available in LEADTOOLS Vector Imaging toolkits. |
#include "ltwrappr.h"
L_BOOL LVectorWindow::IsAutoPaintEnabled(L_VOID)
Determines whether the vector window painting is enabled.
Returns
TRUE |
Vector window painting is enabled. |
FALSE |
Vector window painting 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: |
LVectorWindow::EnableAutoPaint, LVectorWindow::Repaint, Class Members |
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; }