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



stream
The stream from which to load all pages of the multipage annotation stream.
stream
The stream from which to load all pages of the multipage annotation stream.
Loads all pages from an annotation disk file.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Load( _
   ByVal stream As Stream _
) As AnnContainer()
Visual Basic (Usage)Copy Code
Dim instance As AnnCodecs
Dim stream As Stream
Dim value() As AnnContainer
 
value = instance.Load(stream)
C# 
public AnnContainer[] Load( 
   Stream stream
)
C++/CLI 
public:
array<AnnContainer^>^ Load( 
   Stream^ stream
) 

Parameters

stream
The stream from which to load all pages of the multipage annotation stream.

Return Value

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

Example

Remarks

Use the method to load all pages of a stream containing one or more annotation pages.. If the annotation stream contains many pages, then this method will load the pages much faster than calling Load(Stream,AnnContainer,Int32) multiple times (once for each page in the annotation stream).

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