WpfAnnotationCanvasReplaceGrips Method |
Replaces the grips of an annotation with new grips.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic void ReplaceGrips(
WpfAnnotationUI annotation,
WpfAnnotationGrips newGrips
)
Public Sub ReplaceGrips (
annotation As WpfAnnotationUI,
newGrips As WpfAnnotationGrips
)
Parameters
- annotation
- Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation for which grips will be replaced. - newGrips
- Type: Atalasoft.Annotate.WpfWpfAnnotationGrips
The new grips. This can be null (Nothing in VB).
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the annotation argument is null (Nothing in VB). |
See Also