AddNumericTagValue  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, but you must call before the CreateTagArray method to allocate a memmory buffer, and after the DestroyTagArray method to destroy it. You can give one value by one call to the alloceted buffer length.

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

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.

See Also              AddNumericTag Method, GetNumericTagBuffer Method, DeleteTag Method, CreateTagArray, DestroyTagArray