L_ISISSetTagLong
#include "l_bitmap.h"
#include "ltisi.h"
L_INT EXT_FUNCTION L_ISISSetTagLong(uTag, lValue)
L_UINT uTag; |
/* long tag */ |
L_INT32 lValue; |
/* new value */ |
Sets the new value for an ISIS Scanner Driver Long 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 long tags |
lValue |
Value used to set the tag. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
If L_ISISSetTagLong is not called, the scanner's defaults will be used.
When setting long tags, the tags must be set in the following order:
TAG_XRESOLUTION
TAG_YRESOLUTION
TAG_XPOSITION
TAG_YPOSITION
TAG_IMAGELENGTH
TAG_IMAGEWIDTH
Set lValue 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_ISISGetTagLong, L_ISISGetTagShort, L_ISISGetTagLongChoice, L_ISISGetTagShortChoice, L_ISISSetTagShort |
Topics: |
|
|
Example
For complete sample code, refer to the DEMO example.
/* set the ISIS scan width to 1000 pixels */
L_ISISSetTagLong(TAG_IMAGEWIDTH, 1000);