WpfAnnotationCanvasSave Method (AnnotationDataFormat) |
Serializes all annotations into a byte array using the specified format.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic byte[] Save(
AnnotationDataFormat format
)
Public Function Save (
format As AnnotationDataFormat
) As Byte()
Parameters
- format
- Type: Atalasoft.AnnotateAnnotationDataFormat
The data format to use.
Return Value
Type:
ByteA byte array containing the serialized data.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown if the data format is unknown. |
See Also