AnnotationControllerLoad Method (String, LayerAnnotation, AnnotationDataFormat) |
Loads annotation data from a file 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(
string fileName,
LayerAnnotation layer,
AnnotationDataFormat format
)
Public Sub Load (
fileName As String,
layer As LayerAnnotation,
format As AnnotationDataFormat
)
Parameters
- fileName
- Type: SystemString
The file 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