Click or drag to resize

WpfAnnotationCanvasSave Method (Stream, WpfLayerAnnotation, IFormatter)

Saves the provided layer 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,
	WpfLayerAnnotation layer,
	IFormatter formatter
)

Parameters

stream
Type: System.IOStream
The stream to which the data will be saved.
layer
Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to save.
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