LayerCollectionReplace Method (Int32, LayerAnnotation) |
Replaces a layer at the specified index with the provided layer.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Replace(
int index,
LayerAnnotation newLayer
)
Public Sub Replace (
index As Integer,
newLayer As LayerAnnotation
)
Parameters
- index
- Type: SystemInt32
The index of the layer to replace. - newLayer
- Type: Atalasoft.Annotate.UILayerAnnotation
The new layer to insert into the collection.
Exceptions See Also