Click or drag to resize

WpfAnnotationCanvasSave Method (WpfLayerAnnotation, IFormatter)

Serializes the provided layer into a byte array.

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 byte[] Save(
	WpfLayerAnnotation layer,
	IFormatter formatter
)

Parameters

layer
Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to serialize.
formatter
Type: System.Runtime.SerializationIFormatter
The formatter used for serialization.

Return Value

Type: Byte
A byte array containing the serialized data.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any parameters passed in are null (Nothing in VB).
See Also