LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

Load(Stream,AnnContainer,Int32) Method






The System.IO.Stream from which to load the objects.
An AnnContainer into which to load the objects.
1-based page number to load.
Loads the annotation objects from a stream. .NET support
Syntax
public void Load( 
   Stream stream,
   AnnContainer container,
   int page
)
'Declaration
 
Public Overloads Sub Load( _
   ByVal stream As Stream, _
   ByVal container As AnnContainer, _
   ByVal page As Integer _
) 
'Usage
 
Dim instance As AnnCodecs
Dim stream As Stream
Dim container As AnnContainer
Dim page As Integer
 
instance.Load(stream, container, page)
public void Load( 
   Stream stream,
   AnnContainer container,
   int page
)
 function Leadtools.Windows.Annotations.AnnCodecs.Load(Stream,AnnContainer,Int32)( 
   stream ,
   container ,
   page 
)
public:
void Load( 
   Stream^ stream,
   AnnContainer^ container,
   int page
) 

Parameters

stream
The System.IO.Stream from which to load the objects.
container
An AnnContainer into which to load the objects.
page
1-based page number to load.
Remarks

This method will not remove any existing objects in the container. If you are re-using an existing collection to load the annotation objects into, make sure to call AnnObjectCollection.Clear on the collection before you call this method.

This method will not position the stream back to its original position before it returns. It is your responsibility to position the stream back before you can load another page from this stream.

For more information, refer to WPF Annotation Files.

Example

For C#/VB examples, refer to Save(String,AnnContainer,AnnCodecsFormat,Int32,AnnCodecsSavePageMode).

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.