Adobe PDF Services API converts PDF files to various formats, including Microsoft Office, text, and images, making it possible to unlock existing PDFs for content editing and analysis. In this tutorial, you will learn how to run your first PDF Services API export operation using sample files for Node.js, Java, and .Net languages.
The Export operation in PDF Services API supports the following file conversions:
Before running the Export operation, you must create your API credentials and set up your environment. You can follow the getting started tutorials to do so:
Once you have created your credentials and set up your environment, you are ready to proceed with the next step.
After setting up your environment, you can run the Export operation using the sample files for Java, .Net, and Node.js languages. The following code snippets guide you through the process:
Java
mvn -f pom.xml exec:java -Dexec.mainClass=com.adobe.platform.operation.samples.exportpdf.ExportPDFToDOCX
.Net
dotnet run ExportPDFToDocx.csproj
Node.js
node src/ocr/ocr-pdf.js
The Export operation will create a new file in the specified directory or location, based on the output parameter. The resulting file is in the format of the export target you specified.
In this tutorial, you have learned the basics of how to run the PDF Services API Export operation using sample files for Node.js, Java, and .Net languages. You have also gained insight into the supported file conversions and the process of setting up your environment.
For additional help and support, you can visit the Adobe Acrobat Services APIs community forum.
You can also contact Adobe for questions on licensing and pricing.