Loads the annotation objects from a stream.
public static void Load(
Stream stream,
AnnContainer container
)
Public Overloads Shared Sub Load( _
ByVal stream As Stream, _
ByVal container As Leadtools.Windows.Annotations.AnnContainer _
)
public:
static void Load(
Stream^ stream,
Leadtools.Windows.Annotations.AnnContainer^ container
)
stream
The System.IO.Stream from which to load the objects.
container
An AnnContainer into which to load the objects.
This method can only load annotations saved with the AnnCodecsFormat.NativeXml format.
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.
For C#/VB examples, refer to Save(stream,anncontainer).
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET