Click or drag to resize

LayerCollectionInsert Method

Inserts a layer into the collection at the specified index.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Insert(
	int index,
	LayerAnnotation layer
)

Parameters

index
Type: SystemInt32
The position within the collection this layer should be placed.
layer
Type: Atalasoft.Annotate.UILayerAnnotation
The layer to insert.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the layer parameter is null.
ArgumentOutOfRangeExceptionThrown if the index parameter is out of range for this collection.
See Also