GetNumericTagValue  Method

Description         Retrieves a 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, that you specified. If you are unsure, check the tag type with the GetTagType method before you call this method.

Syntax                 tagData = [BITIFF.]GetNumericTagValue         FileName Image TagID Which

Remarks             tagData                  Long                Returns a data from the tag. 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.

                            Which                     Long                The data, that you want to query. To specify the data count, use the GetTagCount method.

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