// More examples over https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-dotnet // Obtain your API credentials string clientId = "XXXXXX-XXXXXXXXX-4088-9ca0-55c38f4b7f22"; string clientSecret1 = "XXXXXXXXXXXXXXXXXXXX"; // Create an instance of the Configuration class and initialize it with the Client ID & Client Secret Configuration configuration = new Configuration(clientId, clientSecret); // Define the API base URL for PDF to PowerPoint conversion operation configuration.setApiBaseUrl("https://api.groupdocs.cloud"); // Initialize an instance of ConvertApi with the Configuration object ConvertApi convertApi = new ConvertApi(configuration); ConvertSettings settings = new ConvertSettings(); settings.setStorageName("internal"); settings.setFilePath("marketing.pdf"); settings.setFormat("ppt"); settings.setOutputPath("finalOutput.ppt"); // Invoke the ConvertDocument API to perform PDF to PPT conversion ConvertDocumentRequest request = new ConvertDocumentRequest(settings); List<StoredConvertedResult> response = convertApi.convertDocument(request); // Check the response and print success message if (response != null && response.equals("OK")) { System.out.println("The PDF to PowerPoint presentation completed successfully!"); }