Click or drag to resize

AnnotationDataExporterExport Method (Stream, Stream, SizeF, AnnotationUnit, Dpi, AnnotationDataCollection)

Exports a multiple pages of annotations to a given stream.

Namespace:  Atalasoft.Annotate.Exporters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Export(
	Stream sourceStream,
	Stream destStream,
	SizeF[] pageSizes,
	AnnotationUnit units,
	Dpi[] resolutions,
	AnnotationDataCollection layers
)

Parameters

sourceStream
Type: System.IOStream
The original source stream for the document.
destStream
Type: System.IOStream
The destination stream for the document.
pageSizes
Type: System.DrawingSizeF
An array of sizes of the source pages.
units
Type: Atalasoft.AnnotateAnnotationUnit
An array of units in which the page sizes are expressed.
resolutions
Type: Atalasoft.ImagingDpi
An array of resolutions of the pages.
layers
Type: Atalasoft.AnnotateAnnotationDataCollection
A collection of pages of annotations.
Exceptions
ExceptionCondition
Thrown if sourceStream or destStream is null (Nothing in VB).
Thrown if both CanExport and CanExportOver properties are false.
Remarks
To create a page with no annotations, add an empty LayerData to the collection.
See Also