←Select platform

Load(string) Method

Summary

Loads all pages from an annotation disk file.

Syntax

C#
VB
C++
public AnnContainer[] Load( 
   string fileName 
) 
  
Public Overloads Function Load( _ 
   ByVal fileName As String _ 
) As Leadtools.Annotations.AnnContainer() 

Parameters

fileName
Name of the annotation file to load.

Return Value

An array of AnnContainer where each item in the array corresponds to each page in the annotation file fileName.

Remarks

Use the method to load all pages of a annotation file at once. If the annotation file contains many pages, then this method will load the pages much faster than calling Load(string,anncontainer,int32) multiple times (once for each page in the annotation file).

This method only supports the AnnCodecsFormat.Xml format. All other AnnCodecsFormat are not supported.

For more information, refer to Annotation Files (Deprecated).

Example

For an example, refer to Save(string,anncontainer[],anncodecsformat).

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 Assembly