ArcObjects Library Reference (DefenseSolutions)  

IStackingRule.ShouldBeStacked Method

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

[Visual Basic .NET]
Public Function ShouldBeStacked ( _
    ByVal DisplayList As IDisplayList, _
    ByVal StackableObject1 As IStackable, _
    ByVal StackableObject2 As IStackable _
) As Boolean
[C#]
public bool ShouldBeStacked (
    IDisplayList DisplayList,
    IStackable StackableObject1,
    IStackable StackableObject2
);
[C++]
HRESULT ShouldBeStacked(
  IDisplayList* DisplayList,
  IStackable* StackableObject1,
  IStackable* StackableObject2,
  VARIANT_BOOL* ShouldBeStacked
);
[C++]

Parameters

DisplayList [in]

  DisplayList is a parameter of type IDisplayList

StackableObject1 [in]

  StackableObject1 is a parameter of type IStackable

StackableObject2 [in]

  StackableObject2 is a parameter of type IStackable

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

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

IStackingRule Interface