FlowDocumentLoadFromXml Method

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Loads the document from XML.

Namespace:  Apitron.PDF.Kit
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public static FlowDocument LoadFromXml(
	Stream inputStream,
	ResourceManager resourceManager
)

Parameters

inputStream
Type: System.IOStream
The input stream.
resourceManager
Type: Apitron.PDF.Kit.FixedLayout.ResourcesResourceManager
The resource manager that will contain the deserialized resources.

Return Value

Type: FlowDocument
New instance of FlowDocument containing the loaded content.
Exceptions

ExceptionCondition
ArgumentNullException If inputStream or resourceManager is null.
DocumentLoadExceptionIf an error occurs while loading.
See Also

Reference