This Gist provides the details on how to convert TXT to PDF usingAspose.Words Cloud SDK for Java.
In order to accomplish this requirement, we need to read the content of Text file from local drive using File instance, upload it to Cloud storage using uploadFile(...)method of WordsApi, create an object of GetDocumentWithFormatRequest where we specify PDF as output format and finally, call the method getDocumentWithFormat(...)to perform the conversion and save the resultant PDF in cloud storage. For complete information, please visit Convert TXT to PDF using Java.
Product Page | Docs | Live Demo | Swagger UI | Code Samples | Source Code | New Releases | Blog | Free Support | Free Trial