Click or drag to resize

AnnotationController.Load Method (String, IFormatter)

Loads annotation data from a file using the supplied formatter and adds the annotations to the Layers collection.

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

Parameters

fileName
Type: System.String
The filename for the annotation data.
formatter
Type: System.Runtime.Serialization.IFormatter
An IFormatter used to deserialize the annotation data.
Remarks
We recommend to ensure that file path is trusted and usage of formatter will not introduce vulnerabilities. You can use one of the following formatters: Alternatively, custom secure formatter can be created.
See Also