ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / ISIS Component API Reference / ISIS Component Tags Reference / Miscellaneous Tags / 0 (Zero)
In This Topic
    0 (Zero)
    In This Topic

    List of all tags. 0x0000  0

    The special tag 0 (Zero) allows an application to determine all of the tags that a particular driver supports.

    Type:

    IG_ISIS_TAG_TYPE_LONG

    Drivers:

    All.

    Values:

    The 0 tag contains a list of all the tags as numeric values. Use IG_ISIS_tag_get_length to get the number of tags, and then use IG_ISIS_tag_get_long with an index value to get the list of tags.

    Example:

     
    Copy Code
    HISISDRV hDriver;  //Set to valid ISIS driver handle.
    DWORD uNumTags, uTag;
    INT32 lValue;
    //Determine number of tags in driver.IG_ISIS_tag_get_length(hDriver, 0, &uNumTags);
    //Cycle through tags in driver.
    for (uTag = 0; uTag < uNumTags; uTag++)
    {
        //Find out tag number at index position.IG_ISIS_tag_get_long(hDriver, 0, uTag, &lValue);
        //Do something with lValue.
    }