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

Limit choices for IG_ISIS_TAG_AVAILFMTS. 0x1322  4898

IG_ISIS_TAG_ALLOWEDFORMATS limits the available formats reported by IG_ISIS_TAG_AVAILFMTS when used with PIXFPACK, allowing your application in a file open or file save dialog to list only a subset of the formats supported by the installed group of file filters (PXIs).

Type:

IG_ISIS_TAG_TYPE_LONG

Drivers:

PIXFPACK.

Values:

IG_ISIS_FILETYPE_TIFF Allow TIFF files.
IG_ISIS_FILETYPE_PDA Allow PDA files.
IG_ISIS_FILETYPE_PCX Allow PCX files.
IG_ISIS_FILETYPE_DCX Allow DCX files.
IG_ISIS_FILETYPE_GIF Allow GIF files.
IG_ISIS_FILETYPE_BMP Allow BMP files.
IG_ISIS_FILETYPE_JPEG Allow JPEG files.
IG_ISIS_FILETYPE_CALS Allow CALS files.

Tag Dependencies and Dependent Tags:

The number of times IG_ISIS_TAG_ALLOWEDFORMATS can be called depends on the value to which your application sets IG_ISIS_TAG_NUMALLOWEDFORMATS. If IG_ISIS_TAG_NUMALLOWEDFORMATS is set to IG_ISIS_NUMALLOWED_ALL (zero), then all values set by IG_ISIS_TAG_ALLOWEDFORMATS are ignored.

Remarks:

IG_ISIS_TAG_ALLOWEDFORMATS must be set one per IG_ISIS_tag_set_long call, using an index value derived from IG_ISIS_TAG_NUMALLOWEDFORMATS. For example, if you want to allow five formats, you would set IG_ISIS_TAG_NUMALLOWEDFORMATS to 5, and then set IG_ISIS_TAG_ALLOWEDFORMATS five times, using consecutive index values of 0 through 4.

See Also

IG_ISIS_TAG_AVAILFMTS

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.