This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IE > IExport Interface > IExport.Filter Property (ArcObjects .NET 10.5 SDK) |
Filter String used in the CFileDialog class.
[Visual Basic .NET] Public ReadOnly Property Filter As String
[C#] public string Filter {get;}
[C++]
HRESULT get_Filter(
BSTR* Filter
);
[C++]
Parameters Filter [out, retval] Filter is a parameter of type BSTR
This method is primarily used for defining the extension of the export file name within the Export Map dialog. The string contained in this value is a null-terminated pattern string that follows the standard for a Windows Open and Save As dialog filter. The value of this property can change according to the state of the export object. An ExportSVG object, for example, returns "SVG (*.svg)|*.svg" when its compression property is False, and "Compressed SVG (*.svgz)|*.svgz" when the compression property is True. This makes the Filter ideal for automatically assigning the appropriate file name extension for an export file.