AddNumericTag  Method

Description         Adds or replaces one byte, short or long type tiff tag to an image of a tiff file.

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

Returns               RetVal                    Boolean           Returns true on success, otherwise false.

Remarks             FileName                String              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

                            Data                        Long                The data to store in the tag. This long value can contain a byte, an integer or a long data for the method.

See Also              AddNumericTagBuffer Method, GetNumericTag Method, DeleteTag Method