ScanFix Xpress v9.0 for .NET - Updated
Save Enhancements Objects
User Guide > How To > Save Enhancements Objects

ScanFix® Xpress provides the ability to read and write a stream using the ReadFromStream and WriteToStream methods within the Enhancements object. These streaming methods are provided to work with the Accusoft FormDirector component for reading and writing ScanFix Xpress enhancement options, processing information and operations as needed to integrate into the Accusoft Forms Processing Suite of components.

The stream contains all Enhancements object operation 'Options' (which is the complete set of instructions for configuring an Enhancements object). The stream will not save any Enhancements object operation 'Results'.

WriteToStream

The WriteToStream method will create an XML stream from the current Enhancements List. When the WriteToStream method is called passing in a list of requested enhancements, ScanFix Xpress will generate an XML string containing the Enhancements list. This list can then be read in later using the ReadFromStream method in ScanFix Xpress or some other Accusoft component.

ReadFromStream

The ReadFromStream method will use the formatted XML string enhancements list prepared by the WriteToStream method. Once the XML string has been read in, ScanFix Xpress will translate the enhancement options and operations contained in the string to perform image processing.

If the XML stream is not formatted properly, ScanFix Xpress will throw the error code 14550.

 

Is this page helpful?
Yes No
Thanks for your feedback.