Click or drag to resize

WpfAnnotationCanvasSave Method (Stream, IFormatter)

Saves all loaded annotations to a stream.

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

Parameters

stream
Type: System.IOStream
The stream to which the data will be saved.
formatter
Type: System.Runtime.SerializationIFormatter
The formatter used to save the annotations.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any parameters passed in are null (Nothing in VB).
ArgumentExceptionThrown if the stream does not have write access.
See Also