

Just provide the file names, and the PDF document will be saved as Images. Use GcPdfDocument.SaveAsBmp(.), SaveAsPng(.), SaveAsGif(), SaveAsJpeg(.), SaveAsTiff(.).

Using SaveAs methods - GcPdfDocument now supports direct methods to save PDF to Image formats. GcPdf provides two ways of saving PDFs to images:
#Convert pdf to text api code#
However, PDF to image conversion will now be a direct conversion with minimal lines of code through new additions to the API. Until now, GcPdf provided the capability to extract images from PDF. GcPdf adds the support of saving PDFs to images without losing quality. Unfortunately, many online PDF to image converter tools aren't great at retaining this quality. In addition to converting PDFs to image formats, you also need to see the image output quality, and whether the formatting will be altered during conversion. Certain PDF pages provide important info, that needs to be used on web pages, word processing documents or Powerpoint presentations. When PDF files are distributed among clients or stakeholders, there are certain changes that need to be pointed out, like text changes, marking certain other areas for additional info. GCPdf v2 Service Pack 2 Render PDF to Images Almost no code is needed to manipulate that data. This method makes it easy to take field names/value lists sent by a form submit and imports it into similarly structured PDF Forms. GcPdf adds new GcPdfDocument.ImportFormDataFromCollection() method. Help | GcHtml Architecture | Demo Import Form Data Submitted from the Client to PDF Getting started with HTML to PDF conversion
#Convert pdf to text api license#
There is no additional license required to run GcHtml. Users can additionally set various PDF settings while converting HTML to PDF. HTML rendering is done using the industry standard Chrome web browser engine working in headless mode, offering advantages of rendering HTML to PDF on any platform (Windows, Linux, and macOS). This helps to insert HTML fragments into PDF documents along with other content. It provides a set of extension methods DrawHtml() and MeasureHtml() to draw or measure HTML content on an instance of GcPdfGraphics. It is a platform independent package that allows you to convert HTML content to PDF documents or images (PNG or JPEG). You can now convert HTML content to PDF using the new GrapeCity Documents for HTML (GcHtml) package (a utility package for GcPdf and GcImaging) available with the GcPdf/GcImaging packages. The invoice HTML conversion needs an automated process, as several invoices are generated through the day.ĭeveloping such applications would benefit from an API that can convert the HTML content to a PDF. PDF formats are the most reliable document format to view web content offline, since the document format is preserved regardless of platform or device. The formatting may not be preserved, and the layout and styles may not be supported, if the HTML invoice is viewed offline.Ī PDF format is a preferred choice for viewing and document sharing. As mentioned above, there may be issues when printing HTML content directly to a printer, or sharing the HTML with customers. Layout and flow of pages may not be the same upon printingĮxample: An eCommerce site presents a customer invoice on the web page shopping cart and then prints the invoice to include with the order.CSS styles responsible for displaying pages effectively on any device may not render well.If you want to save desktop web pages (or if you try to print directly) you may experience the following issues: The main highlight of this release is the ability to convert HTML content to PDF. With this release, GcPdf adds additional features to program PDF documents in.
