DocumentAnnotationViewer.SaveAnnotationData Method |
This method will save the annotations into the provided stream.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic void SaveAnnotationData(
Stream stream,
int frameIndex,
IFormatter annotationDataFormatter
)
Public Sub SaveAnnotationData (
stream As Stream,
frameIndex As Integer,
annotationDataFormatter As IFormatter
)
Parameters
- stream
- Type: System.IO.Stream
The stream to save the annotations into. - frameIndex
- Type: System.Int32
The frame index to save. Specify -1 to save all frames together. - annotationDataFormatter
- Type: System.Runtime.Serialization.IFormatter
The formatter used to save the annotations. Pass in null
(Nothing in VB) to use the XmpFormatter.
Exceptions
See Also