Click or drag to resize

PdfEncoderSave Method (Stream, AtalaImage, ProgressEventHandler)

Saves an image to a PDF file.

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,
	AtalaImage image,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The stream to write the PDF into.
image
Type: Atalasoft.ImagingAtalaImage
The AtalaImage to save.
progress
Type: Atalasoft.ImagingProgressEventHandler
The event handler used for progress events.

Return Value

Type: Int32
The number of bytes written.
Remarks
Uses the default compression (Auto) when saving individual images.
See Also