ArcObjects Library Reference (Display)  

ITemplate.MovePatternElement Method

Moves a pattern element.

[Visual Basic .NET]
Public Sub MovePatternElement ( _
    ByVal fromIndex As Integer, _
    ByVal toIndex As Integer _
)
[C#]
public void MovePatternElement (
    int fromIndex,
    int toIndex
);
[C++]
HRESULT MovePatternElement(
  long fromIndex,
  long toIndex
);
[C++]

Parameters

fromIndex [in]   fromIndex is a parameter of type long toIndex [in]   toIndex is a parameter of type long

Product Availability

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

Description

MovePatternElement moves one pattern element at the specified index in the ITemplate to a different position in the template. Use the PatternElementCount method to verify the number of pattern elements.

See Also

ITemplate Interface