Click or drag to resize

WpfAnnotationCanvasLoad Method (Stream, IFormatter)

Loads annotations from a stream into the layer collection.

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 void Load(
	Stream stream,
	IFormatter formatter
)

Parameters

stream
Type: System.IOStream
The stream containing annotation data.
formatter
Type: System.Runtime.SerializationIFormatter
The formatter used to deserialize the data.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any argument is null (Nothing in VB).
ArgumentExceptionThrown if the stream does not have read access.
SerializationExceptionThrown if there is an error during deserialization.
See Also