L_ISISSetTagShort

#include "l_bitmap.h"
#include "ltisi.h"

L_INT EXT_FUNCTION L_ISISSetTagShort(uTag, nValue)

L_UINT uTag;

/* short tag */

L_INT nValue;

/* new value */

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.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_ISISGetTagShort, L_ISISGetTagLong, L_ISISGetTagShortChoice, L_ISISGetTagLongChoice, L_ISISSetTagLong

Topics:

Raster Image Functions: Scanning Images using ISIS

 

Using ISIS to Scan Images

Example

For complete sample code, refer to the DEMO example.

For an example, refer to L_ISISAcquireMulti.