This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPictureElement Interface > IPictureElement.Filter Property (ArcObjects .NET 10.4 SDK) |
Filter used in CFileDialog.
[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
Filter returns the filter used when executing the ImportPictureFromFile method. For instance, if we have an EmfPictureElement, then the filter is "Windows Enhance Metafile (*.emf)|*.emf|". Only files that match the filter can be imported into the object.
The Filter property can be used to determine if the PictureElement is a BmpPictureElement or an EmfPictureElement.