←Select platform

Save(Stream,AnnContainer) Method

Summary

Saves the annotation objects to a stream.

Syntax

C#
VB
C++
public static void Save( 
   Stream stream, 
   AnnContainer container 
) 
  
Public Overloads Shared Sub Save( _ 
   ByVal stream As Stream, _ 
   ByVal container As Leadtools.Windows.Annotations.AnnContainer _ 
)  
public: 
static void Save(  
   Stream^ stream, 
   Leadtools.Windows.Annotations.AnnContainer^ container 
)  

Parameters

stream
The stream to which to save the objects.

container
An AnnContainer containing the objects to be saved.

Remarks

This method will save the annotations to the stream using the AnnCodecsFormat.NativeXml format.

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 objects from this stream.

For more information, refer to WPF Annotation Files.

Example

 

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