Accusoft ImagXpress 13
TagCount Property
Description
Gets the count of data items within the current tag.
Property Type
Read-write property
Syntax
Visual Basic
Public Property TagCount As Long
Return Type
The count of data items within the current tag.
Remarks

This property is read-only at run time and is not available at design time.

The TagCount property only applies when the image loaded into the control is a TIFF of EXIF file. It represents the number of data items for the current tag, not the number of tags.

For more information on querying and modifying tags, see Modify Tags.

Note: Available in Professional Edition. 

Example
Private Function GetTagCount()
    Dim tagCount As Integer
    Dim tagLevel As Integer
    tagLevel = 0
    tagCount = 0
    For tagLevel = 0 To 4
        ImagXpress1.tagLevel = tagLevel
        ImagXpress1.TagFirst
        While ImagXpress1.TagNumber <> 0
            tagCount = tagCount + 1
            ImagXpress1.TagNext
        Wend
    Next tagLevel
    GetTagCount = tagCount
End Function
See Also

ImagXpress Object  | ImagXpress Members  | Image Metadata

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback