LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Load(String) Method
See Also 
Leadtools.Annotations Namespace > AnnCodecs Class > Load Method : Load(String) Method



fileName
Name of the annotation file to load.
fileName
Name of the annotation file to load.
Loads all pages from an annotation disk file.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Load( _
   ByVal fileName As String _
) As AnnContainer()
Visual Basic (Usage)Copy Code
Dim instance As AnnCodecs
Dim fileName As String
Dim value() As AnnContainer
 
value = instance.Load(fileName)
C# 
public AnnContainer[] Load( 
   string fileName
)
C++/CLI 
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.

Example

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features