Click or drag to resize

AnnotationControllerLoad Method (String, LayerAnnotation, AnnotationDataFormat)

Loads annotation data from a file and adds the annotations to the specified layer.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Load(
	string fileName,
	LayerAnnotation layer,
	AnnotationDataFormat format
)

Parameters

fileName
Type: SystemString
The file containing the annotation data.
layer
Type: Atalasoft.Annotate.UILayerAnnotation
The LayerAnnotation where annotations will be added.
format
Type: Atalasoft.AnnotateAnnotationDataFormat
The format of the annotation data.
Exceptions
ExceptionCondition
SerializationExceptionThrown if there is an error reading the data.
See Also