LIsis::SetTagShort

#include "Ltwrappr.h"

virtual L_INT LIsis::SetTagShort(uTag, nValue)

L_UINT uTag;

/* the short tag to set */

L_INT nValue;

/* the value used to set the short tag */

Sets the new value for an ISIS Scanner Driver Short Tag.

This function is available in the Document/Medical Toolkits.

Parameter

Description

uTag

Value indicating the tag whose value you want to set. For a list of possible tags, refer to ISIS short tags.

nValue

Value used to set the tag.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

When determining the color format, tags must be set in the following order:

TAG_SAMPLESPERPIXEL

TAG_BITSPERSAMPLE

TAG_COMPRESSION

Set nValue to ISIS_DEFAULT to use the scanner's default setting for uTag.

Required DLLs and Libraries

LTISI

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:

LIsis::GetTagASCII, LIsis::GetTagASCIIChoice, LIsis::GetTagLong, LIsis::GetTagLongChoice, LIsis::GetTagShort, LIsis::GetTagShortChoice, LIsis::SetTagASCII, LIsis::SetTagLong, LTwain::SetProperties, Class Members

Topics:

Raster Image Functions: Scanning Images using ISIS

 

Using ISIS to Scan Images

Example

For an example, refer to LIsis::AcquireMulti.