FlowDocumentWrite Method (Stream, ResourceManager, PDFALevels, PageBoundary)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
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

ExceptionCondition
ArgumentNullExceptionIf outputStream is null.
ArgumentNullExceptionIf resourceManager is null.
DocumentSaveExceptionIf document saving fails for any other reason.
See Also

Reference