AnnotationExporterExport Method (Stream, Stream, SizeF, AnnotationUnit, Dpi, LayerAnnotation, Int32) |
Exports a single page of annotations to a given stream.
Namespace:
Atalasoft.Annotate.UI.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 pageSize,
AnnotationUnit units,
Dpi resolution,
LayerAnnotation layer,
int frameIndex
)
Public Sub Export (
sourceStream As Stream,
destStream As Stream,
pageSize As SizeF,
units As AnnotationUnit,
resolution As Dpi,
layer As LayerAnnotation,
frameIndex As Integer
)
Parameters
- sourceStream
- Type: System.IOStream
The original source stream for the document. - destStream
- Type: System.IOStream
The destination stream for the document. - pageSize
- Type: System.DrawingSizeF
The size of the source page. - units
- Type: Atalasoft.AnnotateAnnotationUnit
The units in which the page size is expressed. - resolution
- Type: Atalasoft.ImagingDpi
The resolution of the page. - layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The page of annotations to export. - frameIndex
- Type: SystemInt32
The page number for exporting.
Remarks Source stream is necessary for some file formats like PDF which require an entire document to hold the
annotations. Other formats may ignore the source stream entirely.
See Also