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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public WpfLayerAnnotation GetTopLevelLayer(
WpfAnnotationUI annotation
)
Public Function GetTopLevelLayer (
annotation As WpfAnnotationUI
) As WpfLayerAnnotation
Parameters
- annotation
- Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to work with.
Return Value
Type:
WpfLayerAnnotationThe top level layer containing the provided annotation or null (Nothing in VB) if a layer cannot be found.
Exceptions See Also