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

Load(Stream) Method






The stream from which to load all pages of the multipage annotation stream.
Loads all pages from an annotation disk file.
Syntax
public AnnContainer[] Load( 
   Stream stream
)
'Declaration
 
Public Overloads Function Load( _
   ByVal stream As Stream _
) As AnnContainer()
'Usage
 
Dim instance As AnnCodecs
Dim stream As Stream
Dim value() As AnnContainer
 
value = instance.Load(stream)
public AnnContainer[] Load( 
   Stream stream
)
 function Leadtools.Annotations.AnnCodecs.Load(Stream)( 
   stream 
)
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.
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.

Example
For an example, refer to Save(Stream,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.