Click or drag to resize

WpfAnnotationCanvas.Load Method (Stream, AnnotationDataFormat)

Loads annotations from a stream with the specified data format.

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,
	AnnotationDataFormat format
)

Parameters

stream
Type: System.IO.Stream
The stream containing annotation data.
format
Type: Atalasoft.Annotate.AnnotationDataFormat
The format of the annotation 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.
ArgumentExceptionThrown if the data format is unknown.
See Also