AnnotationControllerSave Method (LayerAnnotation, IFormatter) |
Returns a byte array containing the annotation data from a specified
LayerAnnotation. This
is useful when saving annotation data to be embedded into image metadata.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic byte[] Save(
LayerAnnotation layer,
IFormatter formatter
)
Public Function Save (
layer As LayerAnnotation,
formatter As IFormatter
) As Byte()
Parameters
- layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The LayerAnnotation containing the annotations to save. - formatter
- Type: System.Runtime.SerializationIFormatter
The formatter used to convert the annotation data.
Return Value
Type:
Byte
See Also