Click or drag to resize

WpfAnnotationCanvasSave Method (Stream, AnnotationDataFormat)

Saves all loaded annotations to a stream with the specified data format.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Save(
	Stream stream,
	AnnotationDataFormat format
)

Parameters

stream
Type: System.IOStream
The stream to which the data will be saved.
format
Type: Atalasoft.AnnotateAnnotationDataFormat
The data format to use.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any parameters passed in are null (Nothing in VB).
ArgumentExceptionThrown if the stream does not have write access.
ArgumentExceptionThrown if the data format is unknown.
See Also