Spire.PDF 3.9.604 adds new method for plugin to save HTML to PDF stream

Spire.PDF

We are pleased to announce a new hotfix version-Spire.PDF 3.9.604 today. In this version, we add new features to support to save HTML to PDF stream by using the plugin and return a collection of all text on the page with their bounds. We are fixing the bugs especially for the conversion from PDF to Image, the compressing and printing features and some other bugs. Viewing the following full description of its enhanced features:

New Features:

  • Adds new method for new plugin to save HTML to PDF stream.
  • public static void Convert(string url, Stream stream);
    public static void Convert(string url, Stream stream, LoadHtmlType urlHtml);
    public static void Convert(string url, Stream stream, bool enableJavaScript, int timeout, SizeF pageSize, PdfMargins margins);
    public static void Convert(string url, Stream stream, bool enableJavaScript, int timeout, SizeF pageSize, PdfMargins margins, LoadHtmlType urlHtml);
    
  • Adds a new feature to return a collection of all text on the page with their bounds.
  • PdfTextFindCollection allTextFind = pdf.Pages[i].FindAllText();
    

Bug solutions:

  • Fixes the issue that the result document cannot be opened successfully after converting .tiff image to PDF.
  • Fixes the issue that the text in the fields is being cut off at the top after converting the split PDF to image.
  • Fixes the issue that the result was incorrect when converting PDF to XPS.
  • Fixes the issue that the function SetButtonImage doesn't work.
  • Fixes the issue that caused ArgumentNullException when checking the property page.ImagesInfo.
  • Fixes the issue that caused the exception "can not convert to rectangle" when assigning some text value to form field.
  • Fixes the issue that the compression ratio for the method TryCompressImage was not high.
  • Fixes the issue that the whole document is printed empty.

Get the most recent version of Spire.PDF 3.9.604 here:
More information of Spire.PDF new release or hotfix: