Converter class
Leave feedback
On this page
Represents main class that controls document conversion process.
The Converter type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of Converter. |
| init | Initializes a new Converter instance. |
| init | Initializes a new Converter instance. |
| init | Initializes a new Converter with explicit conversion events. |
| init | Initializes a new Converter instance with explicit conversion events. |
| init | Initializes a new Converter instance. |
| init | Initializes a new Converter instance. |
| init | Initializes new instance of Converter class. |
| init | Initializes a new Converter with explicit conversion events. |
| init | Initializes a new Converter with explicit conversion events. |
| Method | Description |
|---|---|
| convert | Converts the source document and saves the entire converted document. |
| convert | Converts the source document and saves the whole converted document. |
| convert | Converts the source document and saves the whole converted document. |
| convert | Converts the source document and saves the whole converted document. |
| convert | Converts the source document and saves the whole converted document. |
| convert | Converts the source document and saves the converted document page by page. |
| convert | Converts the source document and saves the converted document page by page. |
| convert | Converts the source document and saves the converted document page by page. |
| convert | Converts the source document and saves the converted document page by page. |
| convert_convert_options | |
| convert_file | |
| convert_func | |
| convert_string | |
| dispose | Releases resources. |
| get_all_possible_conversions | Gets all supported conversions. |
| get_document_info | Retrieves source document info, including page count and other properties specific to the file type. |
| get_possible_conversions | Retrieves possible conversions for the source document. |
| get_possible_conversions_by_extension | Gets supported conversions for provided document extension. |
| is_document_password_protected | Checks whether the source document is password protected. |
from groupdocs.conversion import Converter
from groupdocs.conversion.options.convert import PdfConvertOptions
with Converter("sample.docx") as converter:
converter.convert("output.pdf", PdfConvertOptions())
Task guides that use Converter:
- Quick Start Guide
- Convert a Document to Another Format
- Get Possible Conversions
- Convert Document To Multiple Page Files
- Convert Files Within Document Containers
- Add a Watermark to Converted Document
- Load File From Local Disk
- Load Password-Protected File
- Getting Document Information
- module
groupdocs.conversion
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.