Skip to content

Instantly share code, notes, and snippets.

@groupdocs-cloud-gists
groupdocs-cloud-gists / XLSX to PDF
Last active March 31, 2024 21:50
Convert Excel to PDF
How to convert Excel to PDF online
How to convert PDF into JPG image with C# .NET
Learn how to convert XLSX to CSV with .NET REST API
@groupdocs-cloud-gists
groupdocs-cloud-gists / Convert PDF to HTML
Last active March 23, 2024 19:14
Turn PDF into HTML
Develop PDF to HTML converter
How to convert Web page to PDF with C# .NET
@groupdocs-cloud-gists
groupdocs-cloud-gists / json to csv
Last active March 10, 2024 04:44
Transform JSON to CSV
Develop JSON to CSV converter with C# .NET
@groupdocs-cloud-gists
groupdocs-cloud-gists / Convert-JSON-to-PDF.js
Created January 2, 2024 14:04
Convert JSON to PDF in Node.js - JSON to PDF Converter
// Get the groupdocs-conversion-cloud module into your project.
let groupdocs_conversion_cloud = require("groupdocs-conversion-cloud");
// Define your API credentials
const clientId = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
const clientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
myStorage = "test";
// Initialize an object of the ConvertApi with the API credentials.
const convertApi = groupdocs_conversion_cloud.ConvertApi.fromKeys(clientId, clientSecret);
// Instantiate an instance of the ConvertSettings class and set the values such as filePath, format, storageName and outputPath.
const settings = new groupdocs_conversion_cloud.ConvertSettings();
@groupdocs-cloud-gists
groupdocs-cloud-gists / Add-Watermark-to-Word.java
Created January 1, 2024 12:51
Add Watermark to Word in Java
package com.example;
import com.groupdocs.cloud.watermark.client.*;
import com.groupdocs.cloud.watermark.model.*;
import com.groupdocs.cloud.watermark.model.requests.AddRequest;
import com.groupdocs.cloud.watermark.api.WatermarkApi;
import java.util.*;
public class Main {
public static void main(String[] args) {
@groupdocs-cloud-gists
groupdocs-cloud-gists / Convert-GIF-to-JPG-in-Node.js
Last active December 24, 2023 12:20
Convert GIF to JPG in Node.js
// Get the groupdocs-conversion-cloud module into your project.
let groupdocs_conversion_cloud = require("groupdocs-conversion-cloud");
// Set your API credentials(i.e. Client Secret, Client API).
const clientId = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
const clientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
const myStorage = "test";
// Now, invoke the fromKeys function of the ConvertApi class and pass the API credentials.
const convertApi = groupdocs_conversion_cloud.ConvertApi.fromKeys(clientId, clientSecret);
// Next, Initialize an instance of the ConvertSettings class.
const settings = new groupdocs_conversion_cloud.ConvertSettings();
@groupdocs-cloud-gists
groupdocs-cloud-gists / convert-text-to-image.java
Created December 12, 2023 08:49
Convert Text to Image in Java
package com.example;
import com.groupdocs.cloud.conversion.api.*;
import com.groupdocs.cloud.conversion.model.*;
import com.groupdocs.cloud.conversion.model.requests.*;
import com.groupdocs.cloud.conversion.client.Configuration;
import com.groupdocs.cloud.conversion.client.ApiException;
import java.util.List;
// How to convert Text to PNG in Java.
public class Main {