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

Glossary Item Box

This function sets the value of a TWAIN control parameter.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_ctrl_set(
        AT_MODE nParamId,
        LPCVOID lpValue,
        DWORD dwValueSize);

Arguments:

nParamId

Control parameter Id. Can be one of the following values:

  • IG_TW_CTRL_APP_NAME
  • IG_TW_CTRL_IMAGE_FILE_NAME
  • IG_TW_CTRL_AUDIO_FILE_NAME
  • IG_TW_CTRL_SAVE_PAGES_SEPARATELY
lpValue Pointer to a memory buffer that contains the control parameter value.
dwValueSize The size of memory allocated for lpValue pointer.

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.

©2012. Accusoft Corporation. All Rights Reserved.