Click or drag to resize

PdfEncoderSave Method (Stream, PdfImage, ProgressEventHandler)

Creates a single or multipage page PDF file from the specified PdfImage object.

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 int Save(
	Stream stream,
	PdfImage image,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The stream to write the PDF file into. This stream must be seekable.
image
Type: Atalasoft.Imaging.Codec.PdfPdfImage
The PdfImage to encode.
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