AnnotationControllerLoad Method (Byte, IFormatter) |
Loads annotation data from a byte array using the supplied formatter and adds
them to the
Layers.
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(
byte[] annotationData,
IFormatter formatter
)
Public Sub Load (
annotationData As Byte(),
formatter As IFormatter
)
Parameters
- annotationData
- Type: SystemByte
A byte array containing the annotation data. - formatter
- Type: System.Runtime.SerializationIFormatter
An IFormatter used to deserialize the data.
Remarks We strongly recommend do not use standard formatters to load annotations from untrusted sources.
You can use one of the following formatters that have passed Veracode scanning:
Alternatively, custom secure formatter can be created.
See Also