WpfAnnotationCanvasLoad Method (Byte, AnnotationDataFormat) |
Loads annotations from a byte array with the specified data 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 void Load(
byte[] data,
AnnotationDataFormat format
)
Public Sub Load (
data As Byte(),
format As AnnotationDataFormat
)
Parameters
- data
- Type: SystemByte
The byte array containing annotation data. - format
- Type: Atalasoft.AnnotateAnnotationDataFormat
The format of the annotation data.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if any argument is null (Nothing in VB). |
| SerializationException | Thrown if there is an error during deserialization. |
| ArgumentException | Thrown if the data format is unknown. |
See Also