Method WriteTo
WriteTo(Stream)
Writes the assembled document.
public PdfAssemblyResult WriteTo(Stream output)
Parameters
outputStreamA writable stream.
Returns
- PdfAssemblyResult
What was produced, and everything that could not be carried.
Exceptions
- ArgumentNullException
outputis null.- InvalidOperationException
No pages have been appended.
- ResourceLimitExceededException
A resource budget was exceeded.
- UnsupportedFeatureException
Strict mode is set and something could not be carried, or permissions are enforced and a source denies assembly.