Class DocConverter

Info

Represents Documentize.DocConverter plugin. Used to convert PDF documents into DOC/DOCX format.

public sealed class DocConverter

Inheritance

objectDocConverter

Inherited Members

Examples

The example demonstrates how to convert PDF document to Doc format.

// Initialize the DocConverter
var plugin = new DocConverter();
// Create PdfToDocOptions object to set instructions
var options = new PdfToDocOptions();
// Add input file path
options.AddInput(new FileDataSource("path_to_input.pdf"));
// Set output file path
options.AddOutput(new FileDataSource("path_to_input.doc"));
// Perform the process
plugin.Process(options);

Constructors

DocConverter()

public DocConverter()

Methods

Dispose()

Implementation of IDisposable.

public void Dispose()

Process(PdfToDocOptions)

Converts PDF document into DOC/DOCX format.

public ResultContainer Process(PdfToDocOptions options)

Parameters

  • options PdfToDocOptions: An options object containing instructions for the operation.

Returns

ResultContainer : An object containing the result of the operation.

Exceptions

ArgumentException

If options not set.

Namespace: Documentize Assembly: Documentize.dll

 English