←Select platform

Load(Stream) Method

Summary

Loads all pages from an annotation disk file.

Syntax

C#
VB
C++
public AnnContainer[] 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly