Click or drag to resize

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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public byte[] Save(
	LayerAnnotation layer,
	IFormatter formatter
)

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