WpfAnnotationCanvasSave Method (IFormatter) |
Serializes all annotations into a byte array.
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(
IFormatter formatter
)
Public Function Save (
formatter As IFormatter
) As Byte()
Parameters
- formatter
- Type: System.Runtime.SerializationIFormatter
The formatter used for serialization.
Return Value
Type:
ByteA byte array containing the serialized data.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the formatter is null (Nothing in VB). |
See Also