←Select platform

LoadOptions(Stream) Method

Summary

Loads the document options from an XML stream.

Syntax

C#
VB
Java
Objective-C
C++
public void LoadOptions( 
   Stream stream 
) 
Public Overloads Sub LoadOptions( _ 
   ByVal stream As Stream _ 
)  
macOS Only: 
- (BOOL)loadOptionsFromData:(NSData *)data error:(NSError **)error 
             
public void loadOptions(InputStream stream) 
public: 
void LoadOptions(  
   Stream^ stream 
)  

Parameters

stream
A standard .NET 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:

The following options are saved to the XML:

Example

For an example, refer to SaveOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly