Example-VB | Example-VC++ |
Returns or sets the list of file filters displayed.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Admin control
object.Filter[=filter]
String
Filters are displayed in the dialog box created by the ShowFileDialog method.
Each filter type consists of two strings separated by, and ending with, a pipe symbol ( | ). The first string contains a description of the filter, such as ‘Tiff files’. The second string contains the file extension, such as ‘*.tif’. Be sure not to include spaces immediately before and after the pipe symbol, or they become part of the string. For example:
All image files|*.tif;*.bmp|TIFF files|*.tif|BMP files|*.bmp|
If no filter type is provided, the system supplies a default filter.