VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / AnnotationDataCollection Class / AddFromStream(Stream,Resolution) Method
Syntax Remarks Requirements SeeAlso
In This Topic
AddFromStream(Stream,Resolution) Method (AnnotationDataCollection)
In This Topic
Adds the annotations from the specified System.IO.Stream to the end of the collection using specified image resolution.
Syntax
'Declaration

Public Sub AddFromStream( _
ByVal stream
The stream that contains serialized annotations.
As System.IO.Stream, _
ByVal imageResolution
The resolution, in dpi, of underlying image.
As Vintasoft.Imaging.Resolution _
)

Parameters

stream
The stream that contains serialized annotations.
imageResolution
The resolution, in dpi, of underlying image.
Remarks

Subscribe to the AnnotationDataDeserializationException if you want to know that exception occurs during deserialization of annotation.

Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also