Click or drag to resize

PdfEncoderSave Method (Stream, ImageSource, ProgressEventHandler)

Saves all of the images in an ImageSource to a PDF file. Only one Image of the ImageSource is in memory at any one time.

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.Pdf (in Atalasoft.dotImage.Pdf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public override int Save(
	Stream stream,
	ImageSource images,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The stream to write the PDF file into. This stream must be seekable.
images
Type: Atalasoft.ImagingImageSource
An image source representing a set of images to be written to the PDF Document.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).

Return Value

Type: Int32
The number of bytes written to the output stream.
See Also