WpfAnnotationCanvasSave Method (String, IFormatter) |
Saves all loaded annotations to a file.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Save(
string fileName,
IFormatter formatter
)
Public Sub Save (
fileName As String,
formatter As IFormatter
)
Parameters
- fileName
- Type: SystemString
The filename to which the data will be saved. - formatter
- Type: System.Runtime.SerializationIFormatter
The formatter used to save the annotations.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown if any parameters passed in are null (Nothing in VB) or if the filename is zero length. |
See Also