Error processing SSI file
LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)

Show in webframe

LoadOptions(String) Method








The name of XML file containing the options.
Loads the document options from an XML file on disk.
Syntax
public void LoadOptions( 
   string fileName
)
'Declaration
 
Public Overloads Sub LoadOptions( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As DocumentWriter
Dim fileName As String
 
instance.LoadOptions(fileName)
public void LoadOptions( 
   string fileName
)
OSX Only:
- (BOOL)loadOptionsFromFile:(NSString *)fileName error:(NSError **)error
            
public void loadOptions(String fileName)
 function Leadtools.Forms.DocumentWriters.DocumentWriter.LoadOptions(String)( 
   fileName 
)
public:
void LoadOptions( 
   String^ fileName
) 

Parameters

fileName
The name of XML file containing the options.
Remarks

This method will load the options saved to an XML file using the SaveOptions(string) method.

To load and save the options to an XML stream instead of a file, use LoadOptions(Stream) and SaveOptions(Stream).

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.
Requirements

Target Platforms

See Also

Reference

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

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