AnnotationControllerLoad Method (Byte, LayerAnnotation, AnnotationDataFormat) |
Loads annotation data from a byte array and adds the annotations to the specified layer.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic void Load(
byte[] annotationData,
LayerAnnotation layer,
AnnotationDataFormat format
)
Public Sub Load (
annotationData As Byte(),
layer As LayerAnnotation,
format As AnnotationDataFormat
)
Parameters
- annotationData
- Type: SystemByte
A byte array containing the annotation data. - layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The LayerAnnotation where annotations will be added. - format
- Type: Atalasoft.AnnotateAnnotationDataFormat
The format of the annotation data.
Exceptions| Exception | Condition |
|---|
| SerializationException | Thrown if there is an error reading the data. |
See Also