FlowDocumentWrite Method (Stream, ResourceManager, PageBoundary, PdfStandard)

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

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

Reference