GetNumericTagBuffer  Method

Description         Retrieves multiple tag data of an image of a tiff file. Returns the data stored in the specified tag, if the tag type is tifttByte = 1, tifttShort = 3, tifttLong = 4 or tifttRational = 5. If you are unsure, check the tag type with the GetTagType method before you call this method.

Syntax                 Items = [BITIFF.]GetNumericTagBuffer            FileName Image TagID DataBuffer MaxCount

Remarks             Items                       Long                Returns the number of data items copied to the given buffer. If an error occurred, 0 is returned.

                            FileName                Stirng              The name of the tiff file.

                            Image                     Integer             The number of the image to get the tag data from. The first image is 0.

                            TagID                     Integer             The ID of the tag which data.is required.

                            DataBuffer            Long                The first item of an array to get the tag data into. To specify the size of the buffer, use the GetTagCount method.

                            MaxCount             Long                The maximum number of data items allowed to be copied into the buffer.

See Also              AddNumericTagBuffer Method, GetNumericTag Method, GetTagCount Method, GetTagType Method