Spire.PDF 5.12.15

Spire.PDF 5.12.15 supports expanding/collapsing specific bookmark and getting font information of the searched text

We're pleased to announce the release of Spire.PDF 5.12.15. This version adds new features to support setting tab order, expanding/collapsing specific bookmark and getting font information of the searched text. Moreover, this update also fixes some issues that occurred when extracting text, converting PDF to Word/TIFF, merging and encrypting PDFs etc. The complete list of new features and bug fixes is given below.

New Features:

  • Supports setting Tab Order.
  • doc.FileInfo.IncrementalUpdate = false;
    PdfPageBase page = doc.Pages[0];
    page.SetTabOrder(TabOrder.Structure);
    
  • Supports expanding or collapsing specific bookmark.
  • doc.Bookmarks[1].ExpandBookmark = true;
     (doc.Bookmarks[0] as PdfBookmarkCollection)[0].ExpandBookmark = true;
    
  • Support getting the font information of the extracted text.
  • PdfTextFindCollection text = pdf.Pages[0].FindAllText();
    foreach (var font in text.Finds)
    {
        string fontName = font.FontName ;
    }
    

Bug Fixes:

  • Fixes the issue that the application threw ArgumentException when extracting text from page.
  • Fixes the issue that the format was wrong after converting PDF to Word.
  • Fixes the issue that there were extra blank pages after merging PDF files.
  • Fixes the issue that the position of the signature was incorrect after signing.
  • Fixes the issue that the application threw NullReferenceException when encrypting PDF file.
  • Fixes the issue that stamp size was incorrect after creating template.
  • Fixes the issue that the layer content was still visible after removing the layer.
  • Fixes the issue that the content was missing after converting PDF to TIFF.
  • Fixes the issue that the print result was incorrect after selecting booklet layout.

Click the link to download Spire.PDF 5.12.15:
More information of Spire.PDF new release or hotfix: