Replaces a grip in the collection with another one.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic void Replace(
int index,
AnnotationGrip newGrip
)
Public Sub Replace (
index As Integer,
newGrip As AnnotationGrip
)
Parameters
- index
- Type: SystemInt32
The index of the grip to replace. - newGrip
- Type: Atalasoft.Annotate.UIAnnotationGrip
The new grip that will be used.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Thrown if the index argument is out of range for this collection. |
| ArgumentNullException | Thrown if the newGrip argument is null (Nothing in VB). |
See Also