Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Processes document and writes PDF content to the output stream. The resulting document will be saved in PDFA.
Namespace: Apitron.PDF.Kit
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
public void Write( Stream outputStream, ResourceManager resourceManager, PDFALevels pdfaLevel, PageBoundary boundary = null )
Parameters
- outputStream
- Type: System.IOStream
The output stream. - resourceManager
- Type: Apitron.PDF.Kit.FixedLayout.ResourcesResourceManager
The resource manager that holds resources used in current markup. - pdfaLevel
- Type: Apitron.PDF.KitPDFALevels
The PDFALevels to be used for saving. - boundary (Optional)
- Type: Apitron.PDF.Kit.FixedLayout.PagePropertiesPageBoundary
The page boundary. If it's null then page size A4 will be used.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If outputStream is null. |
ArgumentNullException | If resourceManager is null. |
DocumentSaveException | If document saving fails for any other reason. |
See Also