FlowDocumentSaveToXml Method

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Saves document structure to 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 void SaveToXml(
	Stream outputStream,
	ResourceManager resourceManager
)

Parameters

outputStream
Type: System.IOStream
The output stream.
resourceManager
Type: Apitron.PDF.Kit.FixedLayout.ResourcesResourceManager
The resource manager containing resources for this document.
Exceptions

ExceptionCondition
ArgumentNullExceptionoutputStream
ArgumentExceptionIf outputStream is null.
ArgumentExceptionIf resourceManager is null.
Remarks

While it's possible to save document markup to XML, not all entries will be written and read from the xml. E.g. when SignatureField is being written its Signature property is being ommitted for security reasons. So when the document will be read back, it will be neccessary to set new value to this property in code.
See Also

Reference