ArcObjects Library Reference  (TrackingAnalyst)    

ITemporalRenderer.CanRenderComponent Method

Uses the renderer from component tree in symbology dialog to determine if this renderer can be used with this component.

[Visual Basic 6.0]
Sub CanRenderComponent(
    ByVal piFeatClass As IFeatureClass, _
    ByVal piDisplay As IDisplay, _
    pbvarResult As Boolean, _
    ByVal piComponent As Unknown, _
    ByVal bstrComponent As String _
)
[Visual Basic .NET]
Public Sub CanRenderComponent ( _
    ByVal piFeatClass As IFeatureClass, _
    ByVal piDisplay As IDisplay, _
    ByRef pbvarResult As Boolean, _
    ByVal piComponent As Object, _
    ByVal bstrComponent As String _
)
[C#]
public void CanRenderComponent (
    IFeatureClass piFeatClass,
    IDisplay piDisplay,
    ref bool pbvarResult,
    ref object piComponent,
    ref string bstrComponent
);
[Java]
public void canRenderComponent (
    IFeatureClass piFeatClass,
    IDisplay piDisplay,
    Boolean pbvarResult,
    Object piComponent,
    String bstrComponent
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CanRenderComponent(
  IFeatureClass* piFeatClass,
  IDisplay* piDisplay,
  VARIANT_BOOL* pbvarResult,
  LPUNKNOWN piComponent,
  BSTR bstrComponent
);
[C++]

Parameters

piFeatClass [in]

  piFeatClass is a parameter of type IFeatureClass

piDisplay [in]

  piDisplay is a parameter of type IDisplay

pbvarResult [in, out]

  pbvarResult is a parameter of type VARIANT_BOOL

piComponent [in]

  piComponent is a parameter of type LPUNKNOWN

bstrComponent [in]

  bstrComponent is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Description

This method is an override of the ILegendInfo->CanRender. It uses the component (Renderer from component Tree in symbology dialog) to determine if this renderer can be used with this component.

See Also

ITemporalRenderer Interface

 


Feedback Send feedback on this page