Accusoft ImagXpress 12
TagSetDataPtr Method
See Also  Send comments on this topic.
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)

pBuffer
The pointer to a memory block containing the tag data to set.
BufferSize
The size in bytes of the tag data to set.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : TagSetDataPtr Method

Glossary Item Box

Description

Sets a tag with the the supplied data in the image's tag list.

Syntax

Visual Basic
Public Sub TagSetDataPtr( _
   ByVal TagNbr As Long, _
   ByVal TagType As Integer, _
   ByRef pBuffer As Byte, _
   ByVal BufferSize 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)

pBuffer
The pointer to a memory block containing the tag data to set.
BufferSize
The size in bytes of the tag data to set.

Remarks

If the specified tag does not exist, the method will create the tag and set its data to the data pointed to by pBuffer. 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 Global Handle to the data, use the TagSetData method.

Note: Available in Professional Edition. 

See Also

©2013. Accusoft Corporation. All Rights Reserved.