Filter Property

Summary

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
C#
VB
C++
public RasterOpenDialogLoadFormat[] Filter { get; set; } 
  
Public Property Filter As RasterOpenDialogLoadFormat() 
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.

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 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)"
  • "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)"

Example

Refer to RasterOpenDialog example.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms.CommonDialogs.File Assembly