←Select platform

Save Method

Summary

Saves the current option to a stream as XML.

Syntax
C#
C++/CLI
Python
public void Save( 
   Stream stream, 
   bool formatted 
) 
public:  
   void Save( 
      Stream^ stream, 
      bool formatted 
   ) 
def Save(self,stream,formatted): 

Parameters

stream

Stream that will contain the current options as XML.

formatted

true to produce formatted output, otherwise; false.

Remarks

DocumentConverterOptions supports saving and loading the options to a stream or string using:

Method Description
Save Saves the current option to a stream as XML.
SaveToString Gets the current options as an XML string.
Load Loads the options previously saved from an XML stream.
LoadFromString Sets the options from an XML string.
Requirements

Target Platforms

Help Version 22.0.2023.5.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.