loadAllFromXML Method

Summary

Loads all the annotation containers from the specified xml document containing a multi-page annotation file.

Syntax

JavaScript Syntax
AnnCodecs.prototype.loadAllFromXML = function( 
   document 
) 
TypeScript Syntax
loadAllFromXML( 
   document: Document 
): AnnContainer[]; 

Parameters

document

XML document object containing the xml data of the annotations to be loaded. 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 document.

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly