VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfAnnotationTemplateBuildManager Class / AddRectangularAnnotation(RectangleAnnotationData) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
AddRectangularAnnotation(RectangleAnnotationData) Method (WpfAnnotationTemplateBuildManager)
In This Topic
Adds a rectanglular annotation to this manager and changes the annotation size and position so the annotation fills the annotation viewer.
Syntax

Parameters

annotation
The rectangular annotation that should be added to this manager.

Return Value

The source rectangular annotation that fills the the annotation viewer.
Exceptions
ExceptionDescription
Thrown if annotation is null.
Thrown if annotation is disposed.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also