LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Filter Property
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterOpenDialog Class : Filter Property



Gets or sets the current file name filters array, which determines the choices that appear in the "Files of type" box in the dialog box.

Syntax

Visual Basic (Declaration) 
Public Property Filter As RasterOpenDialogLoadFormat()
Visual Basic (Usage)Copy Code
Dim instance As RasterOpenDialog
Dim value() As RasterOpenDialogLoadFormat
 
instance.Filter = value
 
value = instance.Filter
C# 
public RasterOpenDialogLoadFormat[] Filter {get; set;}
C++/CLI 
public:
property array<RasterOpenDialogLoadFormat>^ Filter {
   array<RasterOpenDialogLoadFormat>^ get();
   void set (    array<RasterOpenDialogLoadFormat>^ value);
}

Property Value

The file filtering options available in the dialog box. If the Filter is empty the dialog will use the LEADTOOLS default filters.

Example

Refer to RasterOpenDialog example.

Remarks

The default filter list includes:
  • "All Files (*.*)"
  • "LEAD (*.cmp)"
  • "Jpeg (*.jpg;*.jpeg;*.jtf)"
  • "Cmw (*.cmw)"
  • "Jpeg 2000 (*.j2k;*.jp2)"
  • "Tiff (*.tif;*.tiff)"
  • "Gif (*.gif)"
  • "Png (*.png)"
  • "LEAD Advanced Bitonal Compression (*.abc)"
  • "Portable Document Format (*.pdf)"
  • "Adaptive bi-level image compression (*.abic)"
  • "Adobe Photoshop (*.psd)"
  • "Advanced Function Presentation (*.afp)"
  • "Animated Cursor (*.ani)"
  • "Cals (*.cal)"
  • "Canon Raw Format (*.crw)" (Note: this filter not available in x64 platform)
  • "Clipboard (*.clp)"
  • "Cut (*.cut)"
  • "DICOM (*.dic)"
  • "Djvu (*.djv)" Deprecated - No longer supported.
  • "Enhanced Compressed Wavelet (*.ecw)"
  • "Enhanced Metafile (*.emf)"
  • "Exif (*.exf;*.tif;*.jpg)"
  • "Fax (*.fax)"
  • "Flic (*.flc;*.fli)"
  • "FlashPix (*.fpx)"
  • "Flexible Image Transport System) (*.fit)"
  • "Gem Img (*.img)"
  • "Iff (*.iff)"
  • "Internet Fax (*.tifx;*.tiff;*.tfx)"
  • "Ioca (*.ica)"
  • "Itg (*.itg;*.cit)"
  • "Jbig (*.jbg;*.jbig)"
  • "Jbig2 (*.jb2)"
  • "Kodak Cineon (*.cin)"
  • "Kodak Digital Camera Kdc (*.kdc)" (Note: this filter not available in x64 platform)
  • "Kodak Photo CD (*.pcd)" (Note: this filter not available in x64 platform)
  • "Kodak Professional Digital Camera System (*.tif;*.tiff)"
  • "LaserView (*.lv)"
  • "MacPaint (*.mac)"
  • "Mac Pict (*.pct;*.pict)"
  • "Modca (*.ica)"
  • "MS Fax (*.awd)" (Note: this filter not available in x64 platform)
  • "MS Paint (*.msp)"
  • "Mo:dca Ptoca (*.ptk)"
  • Deprecated - No longer supported. "Mr Sid" (*.sid)" (Note: this filter not available in x64 platform)
  • "NAP format (vector) (*.nap)"
  • "Os/2 Bitmap (*.bmp)"
  • "PaintBrush Pcx (*.pcx)"
  • "Pbm (*.pbm)"
  • "Pgm (*.pgm)"
  • "Postscript (*.eps)"
  • "Ppm (*.ppm)"
  • "Profession Digital Camera (*.dcr)" (Note: this filter not available in x64 platform)
  • "Profession Digital Camera (*.tif;*.tiff)"
  • "Rich Text Format (*.rtf)"
  • "Scitex Continuous Tone (*.sct; *.ct)"
  • "Sgi (*.sgi)"
  • "Structured Fax File (*.sff)"
  • "Sun Raster (*.ras)"
  • "Targa Tga (*.tga)"
  • "Text format (*.txt)"
  • "Windows Bitmap (*.bmp)"
  • "Windows Cursor (*.cur)"
  • "Windows Icon (*.ico;*.Icon)"
  • "WinFax (*.wfx)"
  • "Windows Metafile (*.wmf)"
  • "WordPerfect Graphic (*.wpg)"
  • "Wireless Bitmap (*.wbmp)"
  • "Xionics Smp (*.smp)"
  • "XWindows Bitmap (*.xwd)"
  • "X Bitmap (*.xbm)"
  • "X Pixmap (*.xpm)"

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also