AddNumericTagBuffer  Method

Description         Adds or replaces one byte, short, long or rational type tiff tag to an image of a tiff file. Supports multiple data items.

Syntax                 RetVal = [BITIFF.]AddNumericTagBuffer FileName Image TagID Type Data Count

Returns               RetVal                    Boolean           Returns true on success, otherwise false.

Remarks             FileName                Stirng              The name of the tiff file.

                            Image                     Integer             The number of the image to add the tag to.
The first image is 0.

                            TagID                     Integer             The ID of the tag to add. Predefined tags cannot be modified. If you try to do this, the method returns false.

                            Type                       Integer             The type of the tag to add. This can be:

tifttByte = 1

tifttShort = 3

tifttLong = 4

tifttRational = 5

                            Data                        Long                The data to store in the tag. This long value can contain a byte, an integer or a long data or one half of a rational value for the method. You should pass the first item of an array which contains the data to this method.

                            Count                     Long                The number of data items stored in the array. If you wish to add rational values, this number must be the half of the long values in the array.

See Also              AddNumericTag Method, GetNumericTagBuffer Method, DeleteTag Method