LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)

LoadOptions(Stream) Method

Show in webframe







A standard .NET System.IO.Stream containing the options.
Loads the document options from an XML stream.
Syntax
public void LoadOptions( 
   Stream stream
)
'Declaration
 
Public Overloads Sub LoadOptions( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As DocumentWriter
Dim stream As Stream
 
instance.LoadOptions(stream)
public void LoadOptions( 
   Stream stream
)

            

            
 function Leadtools.Forms.DocumentWriters.DocumentWriter.LoadOptions(Stream)( 
   stream 
)
public:
void LoadOptions( 
   Stream^ stream
) 

Parameters

stream
A standard .NET System.IO.Stream containing the options.
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:

Example
For an example, refer to SaveOptions(Stream).
Requirements

Target Platforms

See Also

Reference

DocumentWriter Class
DocumentWriter Members
Overload List
DocumentPage Structure
DocumentFormat Enumeration
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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