loadAll Method (AnnCodecs)

Summary

Loads all the annotation containers from the specified XML data containing a multi-page annotation file.

Syntax

JavaScript Syntax
AnnCodecs.prototype.loadAll = function(xmlData)
TypeScript Syntax
loadAll(xmlData: string): AnnContainer[];

Parameters

xmlData

String containing the XML data of the annotation containers to be loaded. This value must not be null.

Return Value

An array of AnnContainer.

Remarks

This method can only load annotations previously saved with the AnnFormat.Annotations format.

This method will set the value of AnnContainer.PageNumber to the value found in the file.

The DeserializeOptions property can contain optional options and events to use during loading of annotations data.

For more information, refer to Annotation Files.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize