AnnotationControllerLoad Method (Stream, IFormatter) |
Loads annotation data from a stream using the supplied formatter into the
Layers collection.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Load(
Stream stream,
IFormatter formatter
)
Public Sub Load (
stream As Stream,
formatter As IFormatter
)
Parameters
- stream
- Type: System.IOStream
A stream containing annotation data. - formatter
- Type: System.Runtime.SerializationIFormatter
An IFormatter used to deserialize the data.
Remarks We recommend to ensure that stream is trusted and usage of formatter will not introduce vulnerabilities.
You can use one of the following formatters:
Alternatively, custom secure formatter can be created.
See Also