Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LoadOptions(Stream) Method
See Also 
Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class > LoadOptions Method : LoadOptions(Stream) Method



stream
A standard .NET Stream containing the options.
stream
A standard .NET Stream containing the options.
Loads the document options from an XML stream.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub LoadOptions( _
   ByVal stream As Stream _
) 
Visual Basic (Usage)Copy Code
Dim instance As DocumentWriter
Dim stream As Stream
 
instance.LoadOptions(stream)
C# 
public void LoadOptions( 
   Stream stream
)
C++/CLI 
public:
void LoadOptions( 
   Stream^ stream
) 

Parameters

stream
A standard .NET Stream containing the options.

Example

For an example, refer to SaveOptions.

Remarks

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:

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features