Click or drag to resize

WpfAnnotationUIFactoryCollectionGetAnnotationFromData Method

Creates an annotation from the provided annotation data.

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 WpfAnnotationUI GetAnnotationFromData(
	AnnotationData data
)

Parameters

data
Type: Atalasoft.AnnotateAnnotationData
The annotation data used to generate the annotation.

Return Value

Type: WpfAnnotationUI
A new annotation created from the AnnotationData or null (Nothing in VB) if there is no factory for the data.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the data argument is null (Nothing in VB).
See Also