ImageGear for C and C++ on Windows v20.3 - Updated
IG_ISIS_TAG_AVAILFMTS
API Reference Guide > ISIS Component API Reference > ISIS Component Tags Reference > Custom Dialog Box Tags > IG_ISIS_TAG_AVAILFMTS

List box string containing available file formats. 0x1316 4886

IG_ISIS_TAG_AVAILFMTS returns an ASCII string based on polling all available file drivers (PXIs), optionally limited by the values specified in IG_ISIS_TAG_NUMALLOWEDFORMATS and IG_ISIS_TAG_ALLOWEDFORMATS. (Read-only.)

Type:

IG_ISIS_TAG_TYPE_STRING

Drivers:

PIXFPACK.

Values:

IG_ISIS_TAG_AVAILFMTS returns a string in the format required by a file type list box in a Windows common open dialog box. An example of this string is:

"TIFF (*.TIF)\0*.tif\0PCX (*.PCX\0*.pcx\0All Files (*.*)\0*.* \0Known Formats\0*.tif, *.pcx, *.bmp\0"

Note that a C string is terminated by a "\0" and so the string returned in IG_ISIS_TAG_AVAILFMTS is actually terminated by two "\0" characters. This is the format that Windows expects for a list box string.

Tag Dependencies and Dependent Tags:

The values returned in IG_ISIS_TAG_AVAILFMTS depend on the value of IG_ISIS_TAG_NUMALLOWEDFORMATS and, if IG_ISIS_TAG_NUMALLOWEDFORMATS has a value of other than IG_ISIS_TAG_NUMALLOWED_ALL (zero), also on the values of IG_ISIS_TAG_ALLOWEDFORMATS.

IG_ISIS_TAG_NUMALLOWEDFORMATS IG_ISIS_TAG_ALLOWEDFORMATS IG_ISIS_TAG_AVAILFMTS

See Also

IG_ISIS_TAG_ALLOWEDFORMATS

IG_ISIS_TAG_NUMALLOWEDFORMATS

IG_ISIS_TAG_AVAILFORMAT_FILETYPES

IG_ISIS_TAG_AVAILFORMAT_NAMES

IG_ISIS_TAG_AVAILFORMAT_EXTS

Is this page helpful?
Yes No
Thanks for your feedback.