LIsis::SetTagASCII

#include "ltwrappr.h"

virtual L_INT LIsis::SetTagASCII(uTag, pszValue)

L_UINT uTag;

/* ASCII tag */

L_CHAR * pszValue;

/* new value */

Sets the new value for an ISIS Scanner Driver ASCII Tag. This function is available in the Document/Medical Toolkits.

Parameter

Description

uTag

Value indicating the tag for which to set the value. For a list of possible tags, refer to ISIS ASCII tags

pszValue

Value used to set the tag.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

If LIsis::SetTagASCII is not called, the scanner's defaults will be used.

When setting tags, the tags must be set in the following order:

TAG_PAGESIZE

TAG_XRESOLUTION

TAG_YRESOLUTION

TAG_XPOSITION

TAG_YPOSITION

TAG_IMAGELENGTH

TAG_IMAGEWIDTH

Please note that TAG_XRESOLUTION, TAG_YRESOLUTION, TAG_XPOSITION, TAG_YPOSITION, TAG_IMAGELENGTH and TAG_IMAGEWIDTH are long tags and must be set using LIsis::SetTagLong.

Set pszValue to NULL 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::SetTagLong, LIsis::SetTagShort

Topics:

Raster Image Functions: Scanning Images using ISIS

 

Using ISIS to Scan Images

Example

For an example, refer to LIsis::GetTagASCII.