ArcObjects Library Reference (DefenseSolutions)  

ILeaderingRule.ShouldBeLeadered Method

Indicates whether the rule believes the two specified cached graphics are leaderable with each other.

[Visual Basic .NET]
Public Function ShouldBeLeadered ( _
    ByVal DisplayList As IDisplayList, _
    ByVal LeaderableObject1 As ILeaderable, _
    ByVal LeaderableObject2 As ILeaderable _
) As Boolean
[C#]
public bool ShouldBeLeadered (
    IDisplayList DisplayList,
    ILeaderable LeaderableObject1,
    ILeaderable LeaderableObject2
);
[C++]
HRESULT ShouldBeLeadered(
  IDisplayList* DisplayList,
  ILeaderable* LeaderableObject1,
  ILeaderable* LeaderableObject2,
  VARIANT_BOOL* ShouldBeLeadered
);
[C++]

Parameters

DisplayList [in]

  DisplayList is a parameter of type IDisplayList

LeaderableObject1 [in]

  LeaderableObject1 is a parameter of type ILeaderable

LeaderableObject2 [in]

  LeaderableObject2 is a parameter of type ILeaderable

ShouldBeLeadered [out, retval]   ShouldBeLeadered is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

ILeaderingRule Interface