Description Retrieves a single 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 or tifttLong = 4 and the number of data items is 1. If you are unsure, check the tag type with the GetTagType method or check the number of data items with the GetTagCount method before you call this method.
Syntax Data = [BITIFF.]GetNumericTag FileName Image TagID
Remarks Data Long If the function succeeds, returns the data itself (it can be byte, integer, or long, but a long value can contain all of them). Otherwise returns -1.
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.
See Also AddNumericTag Method, GetNumericTagBuffer Method, GetTagCount Method, GetTagType Method