Click or drag to resize

WpfAnnotationCanvasLoad Method (Byte, WpfLayerAnnotation, IFormatter)

Loads annotations from a byte array into the provided layer.

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

Parameters

data
Type: SystemByte
A byte array containing annotation data.
layer
Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to which the annotations will be added.
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