Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class > LoadOptions Method : LoadOptions(String) Method |
'Usage Dim instance As DocumentWriter Dim fileName As String instance.LoadOptions(fileName)
function Leadtools.Forms.DocumentWriters.DocumentWriter.LoadOptions(String)( fileName )
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:
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2