Description Returns the number of data items in a tiff tag of an image in a tiff file.
Syntax TagCount = [BITIFF.]GetTagCount FileName Image TagID
Remarks TagCount Long The number of data items of the specified tag. Returns 0 on error.
FileName Stirng The name of the tiff file.
Image Integer The number of the image. The first image is 0.
TagID Integer The ID of the tag which data count is required.
Use this method to count the number of data items of a tag to allocate a buffer. This buffer will get the tag data, when you call the GetNumericTagBuffer method.