ImageGear Professional DLL v17.1 for Windows Accusoft
IG_TWAIN_cap_set
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Capability Functions > IG_TWAIN_cap_set

Glossary Item Box

This function sets or resets the current value of a capability.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_set(
        HTWAINCAP hTWAINCap,
        AT_MODE nMsgId);

Arguments:

hTWAINCap Handle to a capability container. References the container structure where detailed information about the capability is stored.
nMsgId

Message ID. Can be one of the following values:

  • IG_TW_MSG_SET - Set one or more capability values.
  • IG_TW_MSG_RESET - Set current capability value to default value.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Use IG_TWAIN_source_open() to select the desired Data Source, prior to calling this function.

©2012. Accusoft Corporation. All Rights Reserved.