Click or drag to resize

AnnotationController.Load Method (Byte[], LayerAnnotation, IFormatter)

Loads annotation data into the specified layer using the provided formatter.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Load(
	byte[] annotationData,
	LayerAnnotation layer,
	IFormatter formatter
)

Parameters

annotationData
Type:System.Byte[]
A byte array containing the annotation data to read.
layer
Type: Atalasoft.Annotate.UI.LayerAnnotation
The layer to store the annotations.
formatter
Type: System.Runtime.Serialization.IFormatter
An IFormatter used to deserialize the annotation data.
Remarks
We strongly recommend do not use standard formatters to load annotations from untrusted sources. You can use one of the following formatters that have passed Veracode scanning: Alternatively, custom secure formatter can be created.
See Also