Accusoft ImagXpress 12
TagCount Property
See Also  Example  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : TagCount Property

Glossary Item Box

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

Function using the TagCount (Visual Basic)Copy Code
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

©2013. Accusoft Corporation. All Rights Reserved.