ImageEn, unit ieopensavedlg
TOpenImageEnDialog.AutoSetFilter
TOpenImageEnDialog
.AutoSetFilter
Declaration
property AutoSetFilter : boolean;
Description
When AutoSetFilter is True, TOpenImageEnDialog/TSaveImageEnDialog ignores the
Filter
property and fills it with all supported ImageEn file formats (with custom file formats) or a specific format if
AutoSetFilterFileType
is used.
Default: True
Example
// Allow loading of all file types
OpenImageEnDialog1.AutoSetFilter := True;
OpenImageEnDialog1.AutoSetFilterFileType := -1;
// Only allow the user to save to GIF format
SaveImageEnDialog1.AutoSetFilter := True;
SaveImageEnDialog1.AutoSetFilterFileType := ioGIF;
See Also
◼
AutoSetFilterFileType
◼
Filter
Loading contents...