loadAllFromXML Method

Summary

Loads all the annotation containers from the specified xml document containing a multipage annotation file.

Syntax
TypeScript
JavaScript
AnnCodecs.prototype.loadAllFromXML = function( 
   document 
) 
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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly