Document |
public DocumentAssembler( Stream outStream, OutputOptions outOptions = null, Conformance conformance = null )
The required conformance level of the PDF document. Adding pages or content from incompatible documents or using incompatible features will lead to a conformance error.
When using , the conformance is determined automatically, based on the conformance of the input documents used in the Append(Document, NullableInt32, NullableInt32, DocumentCopyOptions, PageCopyOptions) method and the requirements of the used features.
Exception | Condition |
---|---|
LicenseException | The license check has failed. |
ArgumentException | An invalid encryption was specified in outOptions. |
IOException | Unable to write to the stream. |
GenericException | A generic error occurred. |
ArgumentNullException | if outStream is . |