This gist explains the steps and code snippet on how to convert EPUB file to PDF format using Aspose.PDF Cloud SDK for .NET.
For more information, please visit
This gist explains the steps and code snippet on how to convert EPUB file to PDF format using Aspose.PDF Cloud SDK for .NET.
For more information, please visit
This Gist contains code snippets for EPUB to PDF conversion using C# .NET. |
// get client credentials from https://dashboard.aspose.cloud/ | |
string clientSecret = "388e864b819d8b067a8b1cb625a2ea8e"; | |
string clientID = "718e4235-8866-4ebe-bff4-f5a14a4b6466"; | |
// create an object of PdfApi by passing Client credentials details | |
PdfApi api = new PdfApi(clientSecret,clientID); | |
// input EPUB file | |
string name = "Alices_Adventures_in_Wonderland.epub"; | |
// resultant PDF filename | |
string resultName = "Converted.pdf"; | |
// perform EPUB to PDF conversion | |
var response = api.PutEpubInStorageToPdf(resultName, name, null); | |
// print response code in console | |
Console.WriteLine(response.Code); |