The LoadOptions(Stream) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- stream
- A standard .NET System.IO.Stream containing the options.
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DocumentWriter Dim stream As Stream instance.LoadOptions(stream) |
Parameters
- stream
- A standard .NET System.IO.Stream containing the options.
This method will load the options saved to an XML stream using the SaveOptions(Stream) method.
To load and save the options to an XML disk file instead of a stream, use LoadOptions(string) and SaveOptions(string).
Saving the options to an XML file allows you to set the options the required way once and then re-use them in multiple sessions (or multiple DocumentWriter instances). Each document format supported by the LEADTOOLS Document Writer contain extra functionality and options that can be accessed with the GetOptions and SetOptions methods. For more information, refer to DocumentOptions.
The following options are saved to the XML:
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7