saveAll Method

Summary

Saves an array of annotation containers to xml data.

Syntax
TypeScript
JavaScript
AnnCodecs.prototype.saveAll = function( 
   containers, 
   format 
) 
saveAll( 
   containers: AnnContainer[], 
   format: AnnFormat 
): string; 

Parameters

containers

An array of AnnContainer's to be saved. This value must not be null.

format

Must be AnnFormat.Annotations.

Return Value

The xml string of the annotations that were saved.

Remarks

The SerializeOptions property can contain optional options and events that can be used when saving annotation data.

This method uses the values of AnnContainer.PageNumber during its operation. The page numbers will be saved along with each container.

The AnnContainer.PageNumber value of each container will be used to indicate the output page number. If more than one container has the same value for PageNumber, then only the last container is used. Any AnnContainer object that is null in the array will be ignored.

For more information, refer to Annotation Files.

Requirements

Target Platforms

Help Version 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.