←Select platform

Load(Stream) Method

Summary

Loads all pages from an annotation disk file.

Syntax

C#
VB
C++
public [Leadtools.Annotations.AnnContainer[]](anncontainer.html) Load(  
   Stream stream 
) 
  
Public Overloads Function Load( _ 
   ByVal stream As Stream _ 
) As Leadtools.Annotations.AnnContainer() 

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 (Deprecated).

Example

For an example, refer to Save(Stream,AnnContainer[],AnnCodecsFormat).

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations Assembly
Click or drag to resize