←Select platform

Load(Stream,AnnContainer,int) Method

Summary

Loads the annotation objects from a stream.

Syntax

C#
VB
C++
public void Load( 
   Stream stream, 
   AnnContainer container, 
   int page 
) 
  
Public Overloads Sub Load( _ 
   ByVal stream As Stream, _ 
   ByVal container As Leadtools.Windows.Annotations.AnnContainer, _ 
   ByVal page As Integer _ 
)  
public: 
void Load(  
   Stream^ stream, 
   Leadtools.Windows.Annotations.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.

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.Windows.Annotations Assembly