TagGroupValue Method Example

This example retrieves the value of the tag group substitution of the tag group symbol @tag1@.

Dim vaValue As Variant

pic1.TagGroupValue "@tag1@", vaValue

This Runtime-only method looks in the currently-loaded tag group file to find the substitution for the passed tag and reads the current value. Calling this method is similar to calling the TagGroupSubstitution method, finding the Object based on the returned string, and then reading the value. If you pass it a string that is not a tag group symbol, it will return the same string.