ConverterConvert |
Convert a list of images to a PDF document
public Document ConvertMultiple( DocumentList images, Stream outStream, Profile profile, OutputOptions outOptions = null )
The profile defines the properties of the output document and how the images are placed onto the pages.
For details, see Profile.
The resulting output PDF which can be used as a new input for further processing.
Note that, this object must be disposed before the output stream object (method argument outStream).
Exception | Condition |
---|---|
LicenseException | The license is invalid. |
IOException | Writing to the output PDF failed. |
CorruptException | An input image document is corrupt and cannot be read. |
GenericException | An unexpected failure occurred. |
ProcessingException | The conversion failed. |
ArgumentException | The profile specifies invalid options. |
ArgumentException | The outOptions specifies document encryption and the profile PDF/A conformance, which is not allowed. |
ArgumentNullException | if images is . |
ArgumentNullException | if outStream is . |
ArgumentNullException | if profile is . |