AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : TagAdd Method |
The type of data within the tag.
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)
The type of data within the tag.
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)
Upon successful completion of this method, the current tag is updated. Use the TagNumber, TagCount, TagType, TagLength, TagData properties and TagGetDataItem method to obtain information about the tag.
To modify a tag that already exists, use the TagModify Method. Attempting to add a tag which already exists will result in a IX_Error_TiffTag_AddError.
Note: Available in Professional Edition.
ImagXpress1.TagAdd nTagNumber, TAG_ASCII, Len(strTagValue)+1, strTagValue
Dim R[2] As Long R(0) = 600 R(1) = 1 ImagXpress1.TagAdd nTagNumber, TAG_RATIONAL, 1, R