Click or drag to resize

AnnotationUIFactoryCollectionGetAnnotationFromData Method

Returns a new AnnotationUI object for the AnnotationData provided.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public AnnotationUI GetAnnotationFromData(
	AnnotationData data
)

Parameters

data
Type: Atalasoft.AnnotateAnnotationData
The AnnotationData object from which the AnnotationUI must be created.

Return Value

Type: AnnotationUI
A new AnnotationUI object for the AnnotationData or a RectangleAnnotation if no IAnnotationUIFactory can be found for the data.
Exceptions
ExceptionCondition
Thrown if the data argument is null (Nothing in VB).
See Also