LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Load(String) Method






Name of the annotation file to load.
Loads all pages from an annotation disk file.
Syntax
public AnnContainer[] Load( 
   string fileName
)
'Declaration
 
Public Overloads Function Load( _
   ByVal fileName As String _
) As AnnContainer()
'Usage
 
Dim instance As AnnCodecs
Dim fileName As String
Dim value() As AnnContainer
 
value = instance.Load(fileName)
public AnnContainer[] Load( 
   string fileName
)
 function Leadtools.Annotations.AnnCodecs.Load(String)( 
   fileName 
)
public:
array<AnnContainer^>^ Load( 
   String^ fileName
) 

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.

Example
For an example, refer to Save(String,AnnContainer[],AnnCodecsFormat).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnCodecs Class
AnnCodecs Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.