Click or drag to resize

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
)

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
ExceptionCondition
ArgumentNullException Thrown if the stream is null (Nothing in VB).
ArgumentException Thrown if the stream does not have read access.
See Also