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.
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, PageBoundary boundary = null, PdfStandard pdfStandard = PdfStandard.AsIs )
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. - boundary (Optional)
- Type: Apitron.PDF.Kit.FixedLayout.PagePropertiesPageBoundary
The page boundary. If it's null then page size A4 will be used. - pdfStandard (Optional)
- Type: Apitron.PDF.KitPdfStandard
The pdf standard to be used for saving. By default the ISO 32000 is being used. Other supported standards are defined in PdfStandard enum.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If outputStream is null. |
ArgumentNullException | If resourceManager is null. |
DocumentSaveException | If document saving fails for any other reason. |
See Also