The PDF to Word converter class. Converts a PDF document to an editable Word document (docx), or to rtf,
OpenDocument text, html or markdown (
OutputFormat).
Inheritance HierarchySystemObject
ExpertPdf.AnywherePdfToWordConverter
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic class PdfToWordConverter
Public Class PdfToWordConverter
The PdfToWordConverter type exposes the following members.
Constructors
Properties| | Name | Description |
|---|
 | Bookmarks |
The PDF's bookmarks as Word bookmarks at their targets. The default value is true.
|
 | EmbedFonts |
The document's fonts embedded in the docx, so it looks like the PDF on a machine that lacks them. A font
whose license forbids embedding, and a common system font, is named only. The default value is true.
|
 | EndPageNumber |
The page number where the conversion will end. The default value is 0 which means that all the pages starting
from StartPageNumber are converted.
|
 | HeadersAndFooters |
Text repeated at the top and bottom of the pages as the document's headers and footers, page numbers as page
fields. The default value is true; when false that text is left out.
|
 | Images |
The PDF's images and vector art as pictures. The default value is true.
|
 | Layout |
How the pages are laid out: Flowing (the default) for a document to edit,
Exact for one that looks like the PDF page for page.
|
 | LicenseKey |
The license key string received after the product purchase or a demo license key. When this property is null
the converter runs in demo mode and marks the document it writes.
|
 | Links |
The PDF's links as hyperlinks. The default value is true.
|
 | OutputFormat |
The format written. The default value is Docx.
|
 | StartPageNumber |
The page number from where the conversion will start. The default value is 1.
|
 | UserPassword |
The password to open the PDF document with: the user password or the owner password. The default value is
null.
|
Top
Methods
Remarks
Every page is read as text, images and graphics; its text is grouped into paragraphs with their role (title,
headings, list items, captions, footnotes, headers and footers) and read across its columns in reading order,
and the document is written with Word's heading and list styles, tables, pictures, hyperlinks, bookmarks, page
setup and the document's fonts. A scanned page without a text layer comes out as its picture. The conversion
runs in the application's process; no native engine is needed.
ExamplePdfToWordConverter converter = new PdfToWordConverter();
converter.LicenseKey = "...";
converter.ConvertToWordFile("report.pdf", "report.docx");Dim converter As New PdfToWordConverter()
converter.LicenseKey = "..."
converter.ConvertToWordFile("report.pdf", "report.docx")
See Also