Loads the document options from an XML file on disk.
public void LoadOptions(string fileName)
Public Overloads Sub LoadOptions( _ByVal fileName As String _)
macOS Only:- (BOOL)loadOptionsFromFile:(NSString *)fileName error:(NSError **)error
public void loadOptions(String fileName) public:void LoadOptions(String^ fileName)
fileName
The name of XML file containing the options.
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:
For an example, refer to SaveOptions.
Programming with LEADTOOLS Document Writers
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
