EnumNumOfItems property (ICapabilityEnumeration Interface)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

long EnumNumOfItems

Overview

Refer to How to Work with the Containers - MFC.

Remarks

Gets or sets the number of values of a certain capability in the enumeration.

Get or sets the number of items in the array of the ICapabilityEnumeration interface, where the ICapabilityEnumeration interface represents a container of type TW_ENUMERATION.

When getting capability information, this property contains the number of items contained in the array of the TW_ENUMERATION container associated with the capability. When setting a capability, this property should contain the number of items in the array to be set in the TW_ENUMERATION container.

See Also

Elements

EnumItemType property, EnumCapValue property, EnumCurrentIndex property, EnumDefaultIndex property.

Topics

TWAIN Functionality: Capability Functions