L_ContainerIsEnabled

Summary

Determines whether the container is currently enabled.

Syntax

#include "LtCon.h"

L_LTCON_API L_INT L_ContainerIsEnabled(pContainer, pfEnabled)

Parameters

pCONTAINERHANDLE pContainer

Pointer to a container handle.

L_BOOL* 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

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_ContainerSetEnabled.

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

LEADTOOLS Container and Automation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.