DocumentAnnotationViewerSaveAnnotationData 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)
Syntax public void SaveAnnotationData(
Stream stream,
int frameIndex,
IFormatter annotationDataFormatter
)
Public Sub SaveAnnotationData (
stream As Stream,
frameIndex As Integer,
annotationDataFormatter As IFormatter
)
Parameters
- stream
- Type: System.IOStream
The stream to save the annotations into. - frameIndex
- Type: SystemInt32
The frame index to save. Specify -1 to save all frames together. - annotationDataFormatter
- Type: System.Runtime.SerializationIFormatter
The formatter used to save the annotations. Pass in null
(Nothing in VB) to use the XmpFormatter.
Exceptions See Also