PDF Format Conversion Solution
Convert PDF documents with cross-platform apps or via code on .NET, .NET Core, Xamarin, Java, C++ & Android
One of the most popular and necessary tasks in working with pdf documents is saving these files in one format or another, that is, converting. Document conversion is the conversion of file types from one file format to another as you need it. You can convert a large number of documents at once or one.
.NET APIs for PDF Documents
Targets .NET Framework, .NET Core & COM Interop to develop PDF processing applications for Windows & Web.
CGM to HTML C# Code
public static void ConvertCGMtoHTML()
{
// load CGM with an instance of Document
var document = new Document("template.cgm", new CgmLoadOptions());
// save document in HTML format
document.Save("output.html", Aspose.Pdf.SaveFormat.Html);
}
Convert Documents to Web
- Convert CGM to HTML via C#
- Convert EPS to HTML via C#
- Convert EPUB to HTML via C#
- Convert MD to HTML via C#
Convert PDF to Image
- Render CGM to EMF via C#
- Render CGM to SVG via C#
- Render CGM to TIFF via C#
- Render EPS to EMF via C#
Export TEX Files
- Export TEX to BMP via C#
- Export TEX to DOC via C#
- Export TEX to DOCX via C#
- Export TEX to EMF via C#
Java Class Library to Process & Convert PDF Documents
Class library to create, manipulate and convert PDF documents in any application based on Java SE or EE.
BMP to PDF Java Code
// Initialize document object
Document document = new Document();
Page page = document.getPages().add();
Image image = new Image();
// Load sample BMP image file
image.setFile(Paths.get(_dataDir.toString(), "Sample.bmp").toString());
page.getParagraphs().add(image);
// Save output PDF document
document.save(Paths.get(_dataDir.toString(),"BMPtoPDF.pdf").toString());
Import & Export Documents
- Convert BMP to PDF via Java
- Convert CGM to EPUB via Java
- Convert CGM to PDF via Java
- Convert CGM to TEX via Java
Export TEX Files
- Export TEX to BMP via Java
- Export TEX to DOC via Java
- Export TEX to DOCX via Java
- Export TEX to EMF via Java
Convert Documents to SVG
- Transform CGM to SVG via Java
- Transform EPS to SVG via Java
- Transform EPUB to SVG via Java
- Transform HTML to SVG via Java
C++ Library to Manipulate PDF Files
Native C++ library to create, load, manipulate, and render PDF documents from within pure C++ applications.
BMP to XPS Java Code
std::clog << "BMP to XPS convert: Start" << std::endl;
// String for path name
String _dataDir("C:\\Samples\\Conversion\\");
// String for input file name
String infilename("sample.bmp");
// String for input file name
String outfilename("ImageToPDF-BMP.pdf");
// Open document
auto document = MakeObject<Document>();
// Add empty page in empty document
auto page = document->get_Pages()->Add();
auto image = MakeObject<Aspose::Pdf::Image>();
image->set_File(_dataDir + infilename);
// Add image on a page
page->get_Paragraphs()->Add(image);
auto saveOptions = MakeObject<XpsSaveOptions>();
// Save PDF file into XPS format
document->Save(_dataDir + outfilename, saveOptions);
std::clog << "BMP to XPS convert: Finish" << std::endl;
Import & Export Documents
- Convert XML to HTML via C++
- Convert XPS to HTML via C++
- Convert XSLFO to HTML via C++
- Convert MHT to HTML via C++
Convert PDF to SVG
- Convert CGM to SVG via C++
- Convert EPS to SVG via C++
- Convert EPUB to SVG via C++
- Convert HTML to SVG via C++
Convert BMP to XPS
- Export BMP to XPS via C++
- Export CGM to XPS via C++
- Export EPS to XPS via C++
- Export EPUB to XPS via C++
Free Online App for Document Conversion
Online PDF converter that allows to convert PDF to PDF, Word, Excel, PowerPoint, HTML and Images Live Demos website. The live demo has the following benefits