Click or drag to resize

WpfAnnotationCanvasSave Method (String, WpfLayerAnnotation, IFormatter)

Saves the provided layer to a file.

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(
	string fileName,
	WpfLayerAnnotation layer,
	IFormatter formatter
)

Parameters

fileName
Type: SystemString
The filename 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) or if the filename is zero length.
See Also