Click or drag to resize

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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void SelectFromBounds(
	WpfLayerAnnotation layer,
	Rect bounds,
	bool fullyContained
)

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
ExceptionCondition
ArgumentNullExceptionThrown if the layer argument is null (Nothing in VB).
See Also