Welcome to the Developer Guide for GroupDocs.Conversion Document Conversion Plugins. This section provides practical code examples to help you quickly integrate and use the conversion plugins in your own projects.
Prerequisites
Before proceeding, please review the following topics:
Each example in this guide is provided as a self-contained code snippet. Instructions are provided below to help you run them in your development environment.
Sample Files
Alongside each code example, you’ll find downloadable input and output files:
Source files are the input files used in the example.
Output files are generated using a valid license and are free of evaluation watermarks.
How to Run a Code Example
Below is a walkthrough of how to run a sample code example using a basic PDF to DOCX scenario. The same approach applies to all other examples.
Step 1: Create a Folder
Open your terminal and run:
mkdir convert-pdf-to-docx
cd convert-pdf-to-docx
Step 2: Create a .NET Console App
Use the .NET CLI to create a console application in your preferred language:
Replace the contents of your Program file with the example code below.
usingSystem;usingGroupDocs.Conversion.LowCode;// Load license keys from environment variablesvarpublicKey=Environment.GetEnvironmentVariable("GD_PUBLIC_KEY");varprivateKey=Environment.GetEnvironmentVariable("GD_PRIVATE_KEY");License.Set(publicKey,privateKey);// Create a converter for an XLSX filevarconverter=newXlsxToPdfConverter("cost-analysis.xlsx");// Convert to PDFconverter.Convert("cost-analysis.pdf");