Click or drag to resize

WpfAnnotationCanvasLoad Method (Byte, IFormatter)

Loads annotations from a byte array into the layer collection.

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 Load(
	byte[] data,
	IFormatter formatter
)

Parameters

data
Type: SystemByte
The byte array containing annotation data.
formatter
Type: System.Runtime.SerializationIFormatter
The formatter used to deserialize the data.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if any argument is null (Nothing in VB).
SerializationExceptionThrown if there is an error during deserialization.
See Also