Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_ContainerIsEnabled
#include "LtCon.h"
L_LTCON_API L_INT L_ContainerIsEnabled(pContainer, pfEnabled)
pCONTAINERHANDLE pContainer; |
/* pointer to a container handle */ |
L_BOOL* pfEnabled; |
/* pointer to a variable to be updated */ |
Determine if the container is currently enabled or not.
Parameter |
Description |
|
pContainer |
Pointer to a container handle. |
|
pfEnabled |
Pointer to the variable to be updated with the state of the container. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
The container is enabled. |
|
FALSE |
The container is disabled. |
Comments
The container must be enabled in order to edit objects.
To enable or disable a container, use L_ContainerSetEnable.
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTCON 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: |
|
Topics: |
Example
For an example, refer to L_ContainerSetEnabled.