Click or drag to resize

PdfAnnotationDataExporterExport Method (Stream, Stream, SizeF, AnnotationUnit, Dpi, AnnotationDataCollection, SecureString, SecureString)

Exports a multiple pages of annotations to a given stream.

Namespace:  Atalasoft.Annotate.Exporters
Assembly:  Atalasoft.dotImage.PdfDoc.Bridge (in Atalasoft.dotImage.PdfDoc.Bridge.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,
	SecureString userPassword,
	SecureString ownerPassword
)

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.
userPassword
Type: System.SecuritySecureString
The user password to use when opening and saving the PDF.
ownerPassword
Type: System.SecuritySecureString
The owner password to use when opening and saving the PDF.
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