ArcObjects Library Reference (Carto)  

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(
  BSTR* 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