SlopePatternStyleCopyComponent Method

Copy a component and insert into the slope pattern style.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void CopyComponent(
	int index,
	int insertPosition
)

Parameters

index  Int32
The index in the collection.
insertPosition  Int32
The position of the new component in relation to existing components.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the index is out of the collecton range.
ArgumentException Thrown when the insertPosition is less than 0 or greater than the component's count.
InvalidOperationException Throw when the offset type of component specified by the index is SlopePatternOffsetType::Divide.
Remarks
You can use the parameter- insertPosition as a index to get the component in the slope pattern style.
See Also