Click or drag to resize

WpfAnnotationCanvasGetTopLevelLayer Method

Returns the top level layer for the provided annotation.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public WpfLayerAnnotation GetTopLevelLayer(
	WpfAnnotationUI annotation
)

Parameters

annotation
Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to work with.

Return Value

Type: WpfLayerAnnotation
The top level layer containing the provided annotation or null (Nothing in VB) if a layer cannot be found.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the annotation argument is null (Nothing in VB).
See Also