ArcObjects Library Reference (Carto)  

IFeatureRenderer.PrepareFilter Method

Prepares the query filter for the rendering process.

[Visual Basic .NET]
Public Sub PrepareFilter ( _
    ByVal fc As IFeatureClass, _
    ByVal queryFilter As IQueryFilter _
)
[C#]
public void PrepareFilter (
    IFeatureClass fc,
    IQueryFilter queryFilter
);
[C++]
HRESULT PrepareFilter(
  IFeatureClass* fc,
  IQueryFilter* queryFilter
);
[C++]

Parameters

fc [in]

  fc is a parameter of type IFeatureClass

queryFilter [in]

  queryFilter is a parameter of type IQueryFilter

Product Availability

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

Remarks

This method is called prior to the Draw method and gives the renderer a chance to adjust the query filter to incorporate extra constraints. For example, if a particular field is required for the renderer, it would add this field to the filter to ensure it is accessible during the Draw method.

See Also

IFeatureRenderer Interface

.NET Samples

Multivariate renderer (Code Files: MultivariateRenderer) |