Accusoft ImagXpress 13
TagSetData Method
The tag number of the tag to set.

A long expression evaluating to the tag type to set.

A long expression evaluating to a Global Handle which contains the tag data.
Description
Sets a tag with the the supplied data in the image's tag list.
Syntax
Visual Basic
Public Sub TagSetData( _
   ByVal TagNbr As Long, _
   ByVal TagType As Integer, _
   ByVal hData As Long _
) 
Parameters
TagNbr
The tag number of the tag to set.
TagType

A long expression evaluating to the tag type to set.

  • TAG_BYTE (1) - Byte

  • TAG_ASCII (2) - Ascii character

  • TAG_SHORT (3) Short

  • TAG_LONG (4) Long

  • TAG_RATIONAL (5) Rational

  • TAG_SBYTE (6) Signed byte

  • TAG_UNDEFINE (7) 8 bit byte

  • TAG_SSHORT (8) Signed Short

  • TAG_SLONG (9) Signed Long

  • TAG_SRATIONAL (10) Signed Rational

  • TAG_FLOAT (11) Float (4 Bytes)

  • TAG_DOUBLE (12) Double (8 bytes)

hData
A long expression evaluating to a Global Handle which contains the tag data.
Remarks

If the specified tag does not exist, the method will create the tag and set its data to the data contained in the hData Global Handle. If the specified tag exists, it will be replaced. It is best to use this method when setting a large block of data.

If you have a pointer to the data, use the TagSetDataPtr method.

Note: Available in Professional Edition. 

See Also

ImagXpress Object  | ImagXpress Members  | TagSetDataPtr Method  | Image Metadata

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback