Click or drag to resize

AnnotationControllerLoad Method (Stream, LayerAnnotation, AnnotationDataFormat)

Loads annotation data from a stream 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(
	Stream stream,
	LayerAnnotation layer,
	AnnotationDataFormat format
)

Parameters

stream
Type: System.IOStream
The stream containing 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