WpfAnnotationCanvasSelectFromBounds Method (WpfLayerAnnotation, Rect, Boolean) |
Selects annotations from a layer that are without a bounding region.
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 SelectFromBounds(
WpfLayerAnnotation layer,
Rect bounds,
bool fullyContained
)
Public Sub SelectFromBounds (
layer As WpfLayerAnnotation,
bounds As Rect,
fullyContained As Boolean
)
Parameters
- layer
- Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to search for annotations. - bounds
- Type: System.WindowsRect
The bounding rectangle to search. This value must be specified in document space. - fullyContained
- Type: SystemBoolean
Indicates if the annotation has to be fully within the bounds before it's selected.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the layer argument is null (Nothing in VB). |
See Also