Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
New instance of FlowDocument containing the loaded content.
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: FlowDocumentNew instance of FlowDocument containing the loaded content.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If inputStream or resourceManager is null. |
DocumentLoadException | If an error occurs while loading. |
See Also