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: (.NET 4.5.2, x86)
public override int Save(
	Stream stream,
	ImageSource images,
	ProgressEventHandler progress


Type: System.IOStream
The stream to write the PDF file into. This stream must be seekable.
Type: Atalasoft.ImagingImageSource
An image source representing a set of images to be written to the PDF Document.
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