←Select platform

SaveAllAsync Method

Summary

Saves an array of annotation containers to a storage file data.

Syntax

C#
VB
WinRT C#
Public Function SaveAllAsync( _ 
   ByVal file As StorageFile, _ 
   ByVal containers() As Leadtools.Annotations.Core.AnnContainer, _ 
   ByVal format As Leadtools.Annotations.Core.AnnFormat _ 
) As IAsyncAction 
 function Leadtools.Annotations.Core.AnnCodecs.SaveAllAsync(  
   file , 
   containers , 
   format  
) 

Parameters

file
Destination Windows Runtime StorageFile object to save the data to.

containers
The array of AnnContainer to be saved. This value must not be null.

format
Must be AnnFormat.Annotations.

Remarks

This method will override any existing data in file if it is not a new file.

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.

The SerializeOptions property can contain optional options and events to use during saving of annotations data.

For more information, refer to Annotation Files.

Requirements

Target Platforms

See Also

Reference

AnnCodecs Class

AnnCodecs Members

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