addNodeByPosition

addNodeByPosition(int position) method

Add new node in the selected position of nodes collection

Parameters

NameTypeDescription
positionintZero-base node position

Returns

SmartArtNode

Exception

ExceptionCondition
ArgumentOutOfRangeExceptionposition is less than 0