Error processing SSI file
LEADTOOLS Leadtools.Documents.Converters (Leadtools.Documents.Converters assembly)

Show in webframe

SetDocumentWriterInstance Method






The document writer instance to use when converting documents.
Sets the document writer instance to use when converting documents.
Syntax
public void SetDocumentWriterInstance( 
   DocumentWriter instance
)
'Declaration
 
Public Sub SetDocumentWriterInstance( _
   ByVal instance As DocumentWriter _
) 
'Usage
 
Dim instance As DocumentConverter
Dim instance As DocumentWriter
 
instance.SetDocumentWriterInstance(instance)
public void setDocumentWriterInstance(DocumentWriter instance)
            
public:
void SetDocumentWriterInstance( 
   DocumentWriter^ instance
) 

Parameters

instance
The document writer instance to use when converting documents.
Remarks

The DocumentWriter instance passed to this method will be used when the DocumentConverter is in document conversion mode to create the output file. This DocumentConverter does not create its own DocumentWriter and will throw an error if the user instruct it to run with document output without a previously set instance.

DocumentWriterInstance will return the same value passed for instance.

The previously set IOcrEngine is removed when a new instance is set. You can set a value of null.

The document writer will use the options set in this DocumentWriter when saving documents. Refer to DocumentOptions for more information.

Example

For an example, refer to DocumentConverter.

Requirements

Target Platforms

See Also

Reference

DocumentConverter Class
DocumentConverter Members
Using LEADTOOLS Document Converters

Error processing SSI file
   Leadtools.Documents.Converters requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features