This document is archived and information here might be outdated.  Recommended version.


IPictureElement.Filter Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPictureElement Interface > IPictureElement.Filter Property
ArcGIS Developer Help

IPictureElement.Filter Property

Filter used in CFileDialog.

[Visual Basic .NET]
Public ReadOnly Property Filter As String
[C#]
public string Filter {get;}
[C++]
HRESULT get_Filter(
  System.String* Filter
);
[C++]
Parameters
Filter [out, retval]

Filter is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IPictureElement Interface