Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET ( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Fri Mar 21, 2014 2:12 am

This is the list of changelogs of Spire.PDF New release and hotfix. You can get the detail information of each version's new features and bug solutions.
Welcome to experience Spire.PDF with downloading here:
http://www.e-iceblue.com/Download/downl ... t-now.html

Spire.PDF Pack(Hot Fix) Version:6.1.8(2020-01-21)
Bug Fixes:
Fixes the issue that the application threw OutOfMemoryException when loading a PDF file.
Fixes the issue that the font was not automatically adjusted after filling a value to the Textbox which was set multi-line properties.
Fixes the issue that there was extra content after flattening a PDF file.

Spire.PDF Pack Version:6.1(2020-01-09)
New Features:
Supports getting and setting author and creation date of stamp.
Code: Select all
stamp.Author = "E-iceblue";
stamp.CreationDate = DateTime.Now;

Supports getting the value of PrinterResolutionKind.
Code: Select all
PdfPrinterResolutionKind value = doc.PrintSettings.PrinterResolutionKind;

Supports getting the button style of RadioButton.
Code: Select all
PdfDocument doc = new PdfDocument(@"..\toPDF.pdf");
PdfFormWidget formWidget = doc.Form as PdfFormWidget;
for (int i = 0; i < formWidget.FieldsWidget.List.Count; i++)
{
PdfField field = formWidget.FieldsWidget.List[i] as PdfField;
if (field is PdfRadioButtonListFieldWidget)
{
PdfRadioButtonListFieldWidget radio = field as PdfRadioButtonListFieldWidget;
PdfCheckBoxStyle buttonStyle = radio.ButtonStyle;
}
}

Bug Fixes:
Fixes the issue that the text extracted from PDF was incorrect.
Fixes the issue that memory consumption was large when finding text.
Fixes the issue that after signing PDF in .NET Core application, the application threw the exception "lost private key" when saving the signed PDF.
Fixes the issue that the speed of conversion from PDF to Word was slow.
Fixes the issue that content was incorrect after converting PDF to Word.
Fixes the issue that content was incorrect after converting XPS to Word.
Fixes the issue that the application threw the exception "An object reference is not set to an object instance" when extracting text from PDF.
Fixes the issue that the application threw the exception "Index was outside the bounds of the array" when saving PDF pages to images.
Fixes the issue that the content filled in form field didn't display in browser.
Fixes the issue that the annotation couldn’t be added in the location of image.
Fixes the issue that the format of centered text in textbox was incorrect after flattening form fields.
Fixes the issue that after filling textbox field, the generated PDF prompted "This document enabled extended features in Adobe Acrobat." when opening in Adobe.
Fixes the issue that the height property of bounds of text was negative value.
Fixes the issue that the application threw the exception "ArguementException" when printing PDF.

Spire.PDF Pack(Hot Fix) Version:5.12.15(2019-12-16)
New Features:
Supports setting Tab Order.
Code: Select all
 doc.FileInfo.IncrementalUpdate = false;
PdfPageBase page = doc.Pages[0];
page.SetTabOrder(TabOrder.Structure);

Supports expanding or collapsing specific bookmark.
Code: Select all
doc.Bookmarks[1].ExpandBookmark = true;
(doc.Bookmarks[0] as PdfBookmarkCollection)[0].ExpandBookmark = true;

Supports getting the font information of the extracted text.
Code: Select all
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.

Spire.PDF Pack(Hot Fix) Version:5.12.3(2019-12-05)
New Features:
Supports printing to booklet.
Code: Select all
doc.PrintSettings.SelectBookletLayout();
doc.PrintSettings.SelectBookletLayout(PdfBookletSubsetMode bookletSubset);
doc.PrintSettings.SelectBookletLayout(PdfBookletBindingMode bookletBinding);
doc.PrintSettings.SelectBookletLayout(PdfBookletSubsetMode bookletSubset, PdfBookletBindingMode bookletBinding);

Bug Fixes:
Fixes the issue that the order of extracting PDF text content is incorrect.
Fixes the issue that it threw “KeyNotFoundException” when converting PDF to image.
Fixes the issue that the words at the end of text were truncated when drawing long text.
Fixes the issue that it threw “FormatException” when printing PDF.
Fixes the issue that the content was lost when converting PDF to image.
Fixes the issue that it threw the error "Object reference is not set to an object instance" when setting fonts.

Spire.PDF Pack(Hot Fix) Version:5.11.18(2019-11-29)
New Features:
Supports setting the image to fill the button field area.
Code: Select all
pdfButtonField.IconLayout.ScaleMode = PdfButtonIconScaleMode.Anamorphic;

Bug Fixes:
Fixes the issue that the file content could not be copied when converting XPS to PDF
Fixes the issue that the printed document was garbled
Fixes the issue that the process threw KeyNotFoundException when converting PDF to image
Fixes the issue that getting pdf page failed
Fixes the issue that adding digital signature failed
Fixes the issue that the process threw IndexOutOfRangeException when extracting text
Fixes the issue that the printed PDF document content was disorder.
Fixes the issue that the content was incorrect when converting XPS to PDF.

Spire.PDF Pack(Hot Fix) Version:5.11.2(2019-11-07)
Bug Fixes:
Fixes the issue that the data could not be imported from XFDF file into PDF file.
Fixes the issue that the printed document was blank.

Spire.PDF Pack(Hot Fix) Version:5.11.0(2019-11-01)
Bug Fixes:
Fixes the issue that the content was incomplete after saving PDF to images.
Fixes the issue that the application threw the NullReferenceException when creating a stamp.
Fixes the issue that the application threw the StackOverflowException when printing a PDF file.
Fixes the issue that some characters changed to "\r\n" when calling the code bookmark.Title.
Fixes the issue that the result was blank after printing a PDF file.

Spire.PDF Pack(Hot Fix) Version:5.10.8(2019-10-22)
New Features:
Adds the IsNewWindow property to open cross-document in new window.
Code: Select all
  //Open file in new window
       launchAction.IsNewWindow = true;
       //Open file in current window
       launchAction.IsNewWindow = false;

Bug Fixes:
Fixes the issue that the location of polygon annotation could not be obtained correctly.
Fixes the issue that incorrect content was caused after encrypting PDF document.
Fixes the issue that incorrect location was caused after inserting pages by index.
Fixes the issue that the text lost after converting XPS to PDF.
Fixes the issue that failed to find text.
Fixes the issue that the application threw the exception "No object reference was set to the object instance" when getting PDF form.
Fixes the issue that the application threw the exception "No object reference was set to the object instance" when extracting PDF attachment.

Spire.PDF Pack(Hot Fix) Version:5.10.2(2019-10-11)
New Features:
Supports extracting embedded U3D model from PDF to .U3D file.
Code: Select all
   PdfAnnotationCollection annot = doc.Pages[0].AnnotationsWidget;
    int count = 0;
    for (int i = 0; i < annot.Count; i++)
     {
       if (annot[i] is Pdf3DAnnotation)
        {
          Pdf3DAnnotation annot3D = annot[i] as Pdf3DAnnotation;
          byte[] bytes = annot3D._3DData;
          if (bytes != null)
            {
              File.WriteAllBytes(String.Format("result-{0}.u3d", count), bytes);
              count++;
             }
         }
     }

Bug Fixes:
Fixes the issue that the gradient was incorrect after converting XPS to PDF.
Fixes the issue that the data was not showed after filling form fields.
Fixes the issue that the result was blank after printing.
Fixes the issue that the application threw the NullReferenceException when converting PDF to images.
Fixes the issue that the application threw the NullReferenceException when executing pdfDocument.InsertPage(pdf, 0) method.

Spire.PDF Pack(Hot Fix) Version:5.9.16(2019-09-30)
New Features:
Supports "page.TryCompressImage()" in .Net Core and .Net Standard.
Code: Select all
     PdfDocument doc = new PdfDocument();
       doc.LoadFromFile(inputFile);
       doc.Pages[0].TryCompressImage(0);
       doc.SaveToFile(outputFile);

Bug Fixes:
Fixes the issue that the content of extracted highlighted text was incorrect.
Fixes the issue that the stamp was duplicate after printing.
Fixes the issue that the content lost after converting TEXT to PDF.
Fixes the issue that the image color was incorrect after compressing PDF images.
Fixes the issue that the Label text of ButtonField couldn't be removed.
Fixes the issue that converting PDF to Word cost a long time.
Fixes the issue that the document scale value couldn't be obtained.
Fixes the issue that removing action did not work.
Fixes the issue that the picture lost after converting PDF to Html.

Spire.PDF Pack(Hot Fix) Version:5.9.6(2019-09-18)
Bug Fixes:
Fixes the issue that setting landscape for page did not work.
Fixes the issue that the data lost after printing.
Fixes the issue that the application threw the “ArgumentException” when converting XPS to PDF.
Fixes the issue that the content of generated file was blank after converting XPS to PDF.
Fixes the issue that the content lost after converting TEXT to PDF.
Fixes the issue that setting the font size for Field did not work.
Fixes the issue that the page information couldn't be extracted.
Fixes the issue that setting matching whole word did not work when searching.

Spire.PDF Pack(Hot Fix) Version:5.8.16(2019-08-30)
Bug Fixes:
Fixes the issue that the added image stamp was missing after rotating in adobe reader.
Fixes the issue that the size of stamp changed after drawing template.
Fixes the issue that getting PDF forms returned correct value first second time while returns null in second time.
Fixes the issue that the text was stretched after filling text box.
Fixes the issue that the content was lost after printing a PDF file.
Fixes the issue that the text in rotated page couldn’t be extracted.
Fixes the issue that the application threw the exception when dlls in netstandard2.0 folder used in the project with .NET framework.

Spire.PDF Pack(Hot Fix) Version:5.8.7(2019-08-13)
New Features:
Adds a netstandard2.0 folder to place the dlls which could work with Azure Function.
Bug Fixes:
Fixes the issue that caused black content after converting PDF to image.
Fixes the issue that the application threw the "NullReferenceException" when loading XPS file.
Fixes the issue that the application threw the "IndexOutOfRangeException" when converting PDF to image.
Fixes the issue that the application hung when converting PDF to HTML.
Fixes the issue that the application threw the "NullReferenceException" when merging PDF documents.
Fixes the issue that the transparency of watermark lost after converting XPS to PDF.

Spire.PDF Pack(Hot Fix) Version:5.8.2(2019-08-06)
New Features:
Supports converting HTML to PDF on .net core platform.
How to convert HTML to PDF:
https://www.e-iceblue.com/Tutorials/Spi ... lugin.html

Spire.PDF Pack(Hot Fix) Version:5.7.20(2019-07-31)
New Features:
Adds a new property to get the callout line of PdfFreeTextAnnotationWidget.
Code: Select all
public PointF[] CalloutLines { get; }

Adds a new property to get the line ending style of PdfFreeTextAnnotationWidget.
Code: Select all
public PdfLineEndingStyle LineEndingStyle { get; }

Adds a new property to get or set the rectangular differences array of PdfFreeTextAnnotationWidget and PdfFreeTextAnnotation.
Code: Select all
public float[] RectangleDifferences { get; set; }

Bug Fixes:
Fixes the issue that extra border of textbox field was caused after filling text.
Fixes the issue that the content lost after printing.
Fixes the issue that the invisible layer of PDF was rendered after converting PDF to SVG.
Fixes the issue that the PDF field whose border had color became black after converting PDF to SVG.
Fixes the issue that the checkbox style was incorrect after selecting an existing checkbox field.
Fixes the issue that the application threw an exception "Array dimensions are out of support" when loading PDF.
Fixes the issue that many lines text of textbox fields had problems after filling textbox fields.

Spire.PDF Pack Version:5.7(2019-07-02)
New Features:
Supports deleting the author information for PdfTextMarkupAnnotationWidget, PdfTextAnnotationWidget and PdfPopupAnnotationWidget.
Adds page.ReplaceImage(Image originalImage, PdfImage image) method to replace original image with new image.
Bug Fixes:
Fixes the issue that the application threw an error "Unexpected token unknown before 83178" when setting the margins and page size of a PDF.
Fixes the issue that the location and the format of text was incorrect when setting the parameter "htmlTags" in page.DrawString(string text, PdfFontBase font, PdfBrush brush, PointF point, bool htmlTags) method to true.
Fixes the issue that the content was garbled when printing a PDF document using STSongStd-Light-Acro font and SinHei font.
Fixes the issue that the application threw a System.NullReferenceException exception when using page.CreateTemplate() method to create a page template.
Fixes the issue that extracting the text of a PDF document failed.

Spire.PDF Pack(Hot Fix) Version:5.6.31(2019-06-25)
New Features:
Supports removing the author of annotation. Note removing the author of caret annotation is not supported at present.
Code: Select all
annotation.Author = "";

Supports specifying page ranges when saving to PDF.
Code: Select all
document.SaveToFile(filepath, 0, 3, FileFormat.PDF);

Supports setting the width of signature name.
Code: Select all
signature.SetSignNameWidth(float width);

Bug Fixes:
Fixes the issue that the PDF document failed to be printed out by color printer.
Fixes the issue that the invisible layer appeared in SVG after converting PDF to SVG.
Fixes the issue that getting the page number of bookmark's destination failed.
Fixes the issue that the font was changed after converting PDF to Word.
Fixes the issue that the application threw an exception when finding the character "$" and the positions of some characters were not be returned correctly.
Fixes the issue that adding hyperlink to image failed.
Fixes the issue that running the application to convert HTML to PDF with plugin, the second time was longer than the first time.
Fixes the issue that messy content was caused after converting HTML to PDF with plugin.
Fixes the issue that related to the timeout when converting HTML to PDF with plugin.
Fixes the issue that the application threw an exception when converting HTML to PDF with plugin.
Fixes the issue that incorrect spacing between words was caused after converting HTML to PDF with plugin.
Fixes the issue that incorrect css style was caused after converting HTML to PDF with plugin.
Fixes the issue that low quality of content was caused after converting HTML to PDF with plugin.
Fixes the issue that incorrect table layout was caused after converting HTML to PDF with plugin.
Fixes the issue that the hyperlink lost after converting HTML to PDF with plugin.
Fixes the issue that shrunken content was caused after converting HTML to PDF with plugin.
Fixes the issue that incorrect table header was caused after converting HTML to PDF with plugin.
Fixes the issue that the application that converts HTML to PDF with plugin didn't work on Azure (64bit).

Spire.PDF Pack(Hot Fix) Version:5.6.2(2019-06-06)
Bug Fixes:
Fixes the issue that the application threw the exception "Source array was not long enough" when loading an encrypted PDF.
Fixes the issue that duplicated stamps was caused after printing.
Fixes the issue that messy content was caused after converting PDF to TIFF.
Fixes the issue that the application threw an exception “Attempts to read content beyond the end of the stream” when printing.
Fixes the issue that adding an image in PdfGrid failed.
Fixes the issue that the speed of loading PDF was slow.
Fixes the issue that the signature of PDF lost after converting PDF to image.

Spire.PDF Pack(Hot Fix) Version:5.5.21(2019-05-24)
Bug Fixes:
Fixes the issue that content was overlapped when converting PDF to Word.
Fixes the issue that system memory kept growing when extracting text.
Fixes the issue that replacing images failed.
Fixes the issue that the application threw an error "' PDFX :My ID' has invalid markup" when adding two or more custom attributes that contain space character.
Fixes the issue that the layout was incorrect when setting the row count of PDF Grid to 280.
Fixes the issue that the content was garbled when extracting text.
Fixes the issue that the application hung when converting a PDF to Image.
Fixes the issue that the application threw an error "the characters are not supported by this font" when setting the font size.
Fixes the issue that the same text was printed in duplicate when printing PDF.

Spire.PDF Pack(Hot Fix) Version:5.5.1(2019-05-01)
Bug Fixes:
Fixes the issue that the table format is incorrect when the merged rows of PDF gird exceed one page.
Fixes the issue that the content was messy after converting PDF to image.
Fixes the issue that the application threw a "NullReferenceException" when extracting text from PDF pages.

Spire.PDF Pack(Hot Fix) Version:5.4.20(2019-04-29)
Bug Fixes:
Fixes the issue that caused an ArgumentException when printing.
Fixes the issue that PDF/X that was converted from Word could not be validated correctly in the Adobe Reader.
Fixes the issue that caused overlapped text after converting PDF to Word.
Fixes the issue that the checkbox and signature had problems after signing.
Fixes the issue that caused incorrect text after filling Textbox field.
Fixes the issue that the images became black after merging files.
Fixes the issue that the content were messy after converting HTML to PDF.
Fixes the issue that the read-only fields cannot be deleted.
Fixes the issue that caused a "NullReferenceException" when obtaining UsedFonts.
Fixes the issue that caused a "NullReferenceException" when saving PDF page as images.
Fixes the issue that the text could not the found.
Fixes the issue that when signing on an existing signature field, the properties of PdfSignature instance had problems.

Spire.PDF Pack(Hot Fix) Version:5.4.9(2019-04-12)
Bug Fixes:
Fixes the issue that there were some incorrect characters when converting XPS to PDF.
Fixes the issue that the content was lost when converting PDF page contained only one image to Image.
Fixes the issue that the application threw an error "the index beyond the bounds of the array" when converting a PDF to Image.
Fixes the issue that the images which were included in the content changed to the black boxes when converting a PDF to Image.

Spire.PDF Pack(Hot Fix) Version:5.4.1(2019-04-04)
New features:
Supports finding and highlighting text that cross lines.
Code: Select all
  PdfDocument doc = new PdfDocument(input);
    PdfTextFind[] result = null;
    foreach (PdfPageBase page in doc.Pages)
    {
        result = page.FindText("This is a test", TextFindParameter.CrossLine).Finds;
        for (int i = 0; i < result.Length; i++)
        {
            result[i].ApplyHighLight(Color.Yellow);
        }
    }
    doc.SaveToFile(output);

Supports adding digital signatures with LTV (Long Term Validation).
Code: Select all
  PdfNewDocument doc = new PdfNewDocument();
    PdfPageBase page = doc.Pages.Add();
    String pfxPath = inputFile;
    PdfCertificate cer = new PdfCertificate(pfxPath, password, X509KeyStorageFlags.Exportable);
    PdfSignature signature = new PdfSignature(doc, page, cer, "s1");
    signature.Bounds = new RectangleF(new PointF(100, 100), new SizeF(200, 200));
    signature.ConfigureHttpOCSP(null, null);
    doc.Save(outputFile);

Supports getting and setting the background color of the form field.
Code: Select all
 PdfRGBColor color = xxField.BackColor;
    xxField.BackColor = Color.Yellow;

Supports setting the coordinate position of the picture in PdfGridCell.
Code: Select all
PdfGridCellContent cellContent = new PdfGridCellContent();
    cellContent.ImageLocation = new PointF(20,20);

Optimizes the printing speed.
Bug Fixes:
Fixes the issue that some characters were missing and extra characters were added when extracting text.
Fixes the issue that the merged document could not be opened with the Microsoft Edge browser.
Fixes the issue that the barcode in the document was displayed incorrectly when printing a PDF.
Fixes the issue that the content was truncated and lost when drawing text using the PdfTextWidget function.
Fixes the issue that the position of new text was slightly shifted down when replacing text.
Fixes the issue that the added image tag was changed.
Fixes the issue that the application threw a "the reference object was not set to an instance of the object" error when converting TIFF to PDF.
Fixes the issue that vertical text was garbled when converting PDF to images.
Fixes the issue that the application threw a "the reference object was not set to an instance of the object" error when merging PDFs containing hidden content.
Fixes the issue that the content was garbled when splitting a PDF document.
Fixed the issue that the application hung when finding text from a PDF.
Fixes the issue that some content was incorrect when merging PDF documents.
Fixes the issue that setting the checkbox field value did not take effect.
Fixes the issue that the space between numbers was increased when converting PDF to XPS.
Fixes the issue that the content was garbled when printing PDFs.
Fixes the issue that the application threw an "index cannot be less than zero or greater than count" error when merging documents.
Fixes the issue that the data was displayed incorrectly while open the result PDF with the Microsoft Edge browser after rotating pages.

Spire.PDF Pack(Hot Fix) Version:5.3.8(2019-03-19)
New Features:
Supports to get the label of PDF page.
Code: Select all
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile("test.pdf");
List[string] list = new List[string]();
for (int i = 0; i < pdf.Pages.Count; i++)
{
    list.Add(pdf.Pages[i].PageLabel);
}

Bug Fixes:
Fixes the issue that the number containing the decimal point was separated by two lines.
Fixes the issue that obtained image location was incorrect.
Fixes the issue that document size became very large after multiple digital signatures were added
Fixes the issue that setting the column width of the table didn't work.
Fixes the issue that it threw a Win32Exception when printing a PDF document
Fixes the issue that the images became blurred when printing a PDF document
Fixes the issue that content styles were changed when converting a PDF document to images.
Fixes the issue that there was an error "No FunctionType specified in function" was thrown when extracting images.
Fixes the issue that there was an error "Object reference not set to an instance of an object" was thrown when extracting text.

Spire.PDF Pack(Hot Fix) Version:5.3.2(2019-03-11)
New Features:
Supports to add timestamps that conform to RFC 3161 standard when digitally signing a PDF document.
Code: Select all
    // Summary:
    //     Configure timestamp which must conform to RFC 3161.
    //
    // Parameters:
    //   handler:
    //     the handler which generate timestamp token
    public void ConfigureTimestamp(PdfSignature.TimestampGenerateHandler handler);
    //
    // Summary:
    //     Configure timestamp which must conform to RFC 3161.
    //
    // Parameters:
    //   tsaUrl:
    //     TSA url
    public void ConfigureTimestamp(string tsaUrl);

Bug Fixes:
Fixes the issue that drawing content to XPS document failed.
Fixes the issue that the application threw an exception when printing a PDF document.
Fixes the issue that some content was missing after converting XPS to PDF.
Fixes the issue that the application threw an exception when converting PDF to image.

Spire.PDF Pack(Hot Fix) Version:5.2.15(2019-02-28)
Bug Fixes:
Fixes the issue that the content was in bad format after converting PDF to Word.
Fixes the issue that the application threw an exception when converting PDF to SVG.
Fixes the issue that the application threw an exception when printing a PDF document.
Fixes the issue that the extra hidden content was wrongly displayed after creating a booklet for PDF.
Fixes the issue that the application threw an exception when converting PDF to image.
Fixes the issue that the field value could not be displayed when opening the generated PDF after adding a text field to existing PDF and then fill the field.
Fixes the issue that the content was in blank after converting PDF to image.

Spire.PDF Pack(Hot Fix) Version:5.2.3(2019-02-14)
New Features:
Supports converting PDF to PCL (Printer Command Language).
Code: Select all
PdfDocument pdf = new PdfDocument(input);
pdf.SaveToFile("output.pcl",FileFormat.PCL);

Bug Fixes:
Fixes the issue that the content position was offset after converting PDF to image.
Fixes the issue that when a signed document was loaded and saved or re-signed, "the annotation had been revised" appeared.
Fixes the issue that caused an exception "The format of input string is not correct" when printing.
Fixes the issue that the caused an exception "NullReferenceException was unhandled" after setting StringFormat for grid cell.

Spire.PDF Pack(Hot Fix) Version:5.1.33(2019-01-31)
Bug Fixes:
Fixes the issue that the application threw an exception when extracting text from a PDF document.
Fixes the issue that the text in bold were not displayed correctly after converting PDF to image.
Fixes the issue that the result was a blank page after converting PDF to image.
Fixes the issue that the result was a blank page after converting PDF to XPS.
Fixes the issue that "field.Visible" property wrongly returned true even it was for the invisible form field.

Spire.PDF Pack(Hot Fix) Version:5.1.16(2019-01-19)
Bug Fixes:
Fixes the issue that the text position was incorrect after converting XPS to PDF.
Fixes the issue that the position of new text moved down after replacing text.
Fixes the issue that caused an exception when loading PDF file.
Fixes the issue that caused an ArgumentoutOfRangeException when extracting image information.
Fixes the issue that caused an exception when extracting images from PDF.

Spire.PDF Pack(Hot Fix) Version:5.1.4(2019-01-11)
New Features:
Fixes the issue that the result was blank after printing a PDF document.
Fixes the issue that the official seal was missing after print PDF document or converting to images.
Fixes the issue that there was a "110 error" when opening the result file after filling the XFA field.
Fixes the issue that there was a "110 error" when opening the result file after setting the dropdown list items.
Fixes the issue that there was only one page after splitting a PDF document vertically.
Fixes the issue that the result was garbled after extracting text from a PDF document.

Spire.PDF Pack Version:5.1(2019-01-02)
New Features:
Adds two overloaded methods for PDF encryption.
Code: Select all
pdf.Security.Encrypt(string openPassword);
pdf.Security.Encrypt(string permissionPassword, PdfPermissionsFlags permissions);

Bug Fixes:
Fixed the issue that caused incorrect text spacing when converting XPS to Pdf.
Fixed the issue that caused incorrect formula when converting XPS to Pdf.
Fixed the issue that setting the text alignment to center didn't take effect after adding multiple characters in different fonts by PdfGridCellContentList into one cell.
Fixed the issue that caused NullReferenceException when splitting Pdf file.
Fixes the issue that some data got removed after merging PDF documents.
Fixes the issue that the content was blank after converting PDF documents to images.
Fixes the issue that only the data for the first cell was correctly written after setting the alignment of the PDF grid content to "center".

Spire.PDF Pack(Hot Fix) Version:4.12.7(2018-12-18)
Bug Fixes:
Fixes the issue that the bullets were wrongly displayed in IE browser after converting the PDF to SVG.

Spire.PDF Pack(Hot Fix) Version:4.12.2(2018-12-07)
Bug Fixes:
Fixes the issue that some content was overlapped after converting the PDF to SVG.
Fixes the issue that deleting the annotations in the PDF failed.
Fixes the issue that the Thai characters were missing after printing the PDF document.
Fixes the issue that the application threw an exception when converting PDF to images.
Fixes the issue that the result was incorrect when getting the position of some text in PDF document.

Spire.PDF Pack(Hot Fix) Version:4.11.12(2018-11-28)
Bug Fixes:
Fixes the issue that the result was incorrect after printing the PDF document.
Fixes the issue that some extra black areas were added after printing the PDF document or converting the PDF to images.
Fixes the issue that the application threw an exception when finding text in the PDF document.
Fixes the issue that the radio button value returned null when the value is in Chinese characters.
Fixes the issue that printing a PDF document cost much time.
Fixes the issue that the permission password was also displayed as being set while actually only the open password was set.
Fixes the issue that the result was in bad format after converting PDF to HTML.
Fixes the issue that the application threw an exception when getting all the fonts used in the PDF document.
Fixes the issue that some content was removed after printing the PDF document or converting the PDF to images.
Fixes the issue that the result was garbled after extracting text from a PDF document.

Spire.PDF Pack(Hot Fix) Version:4.11.8(2018-11-16)
Bug Fixes:
Fixes the issue that after converting the image to PDF and then copy and paste the image in the result PDF, the image was in black.
Fixes the issue that the application threw an exception when copying the PDF content including the video to a new PDF document.
Fixes the issue that the generated PDF was in blank after drawing the content of one PDF document to another.
Fixes the issue that the application threw an exception when setting the PDF field to read-only.

Spire.PDF Pack(Hot Fix) Version:4.11.5(2018-11-9)
Bug Fixes:
Improves the speed of printing PDF.
Fixes the issue that the process threw OutOfMemoryException when saving PDF to Word.
Fixes the issue that the process threw OutOfMemoryException when invoking the method SaveAsImage.
Fixes the issue that the method FindText didn't work.

Spire.PDF Pack(Hot Fix) Version:4.11.3(2018-11-8)
New Feature:
Supports to save PDF to PostScript file.
Code: Select all
pdf.SaveToFile(output, FileFormat.PostScript);


Spire.PDF Pack(Hot Fix) Version:4.11.0(2018-11-2)
Bug Fixes:
Fixes the issue that the checkboxes became bigger in size after printing the PDF document.
Fixes the issue that the application threw an exception when printing the PDF document.
Fixes the issue that there would be blank pages when merging the file using Spire.PDF and then opening the merged PDF document in Adobe Reader APP on Mobile.
Fixes the issue that a pop-up for page error would appear when splitting the PDF using Spire.PDF and then opening the single document in Adobe Reader.
Fixes the issue that the checkbox field could not be successfully removed and the setting for checked status did not make sense for the newly added checkbox.
Fixes the issue that the hidden layers were wrongly printed out when printing a PDF document.
Fixes the issue that the result was incorrect when getting the coordinates of the images in PDF.
Fixes the issue that the application hung when invoking the method "ReArrange()".
Fixes the issue that the item which contains Chinese characters became garbled when changing the selected items in ListBox field or ComboBox field.
Fixes the issue that the only one Checkbox field was returned when getting the checkbox field from a PDF document which actually has two checkboxes.
Fixes the issue that the PDF document became garbled after adding the text watermark.
Fixes the issue that the application threw an exception when finding some text in PDF document.
Fixes the issue that some pages became blank after converting PDF to images.
Fixes the issue that the application threw an exception when finding some text in PDF document.

Spire.PDF Pack(Hot Fix) Version:4.10.3(2018-10-17)
Bug Fixes:
Fixes the issue that a pop-up for error appeared when opening the result PDF generated from merging the encrypted PDF documents.
Fixes the issue that the standard of the result Pdf_A1B file converted from PDF could not pass the validation.
Fixes the issue that the application threw an exception when loading the result file generated from setting the "SetCustomerDefined" for a PDF.
Fixes the issue that the application threw a GDI exception when extracting text from the PDF document.
Fixes the issue that the application threw an exception when invoking "SaveAsImage" method.
Fixes the issue that the application threw an exception when extracting text from the PDF or converting the PDF pages to images.
Fixes the issue that the value returned null when getting the signature from a PDF which has signature.

Spire.PDF Pack(Hot Fix) Version:4.9.7(2018-9-29)
Bug Fixes:
Fixes the issue that the application hung when converting PDF pages to images or extracting text.
Fixes the issue that the links did not make sense after merging the PDF documents.
Fixes the issue that the application threw an exception when getting the page where a bookmark was located.
Fixes the issue that the content did not appear correctly after adding a watermark on PDF document.
Fixes the issue that the application threw an exception when printing the PDF document.
Fixes the issue that some characters were missing after converting XPS to PDF.

Spire.PDF Pack(Hot Fix) Version:4.9.4(2018-9-18)
Bug Fixes:
Fixes the issue that some characters became incorrect after printing the PDF document.
Fixes the issue that the generated PDF could not be opened in Microsoft Edge on Win10.
Fixes the issue that the default reader application would be crashed when opening the PDF generated by the code "doc.Pages.Add()" on Win8.
Fixes the issue that some text became overlapped when first splitting the PDF document and then converting to images.
Fixes the issue that some content got removed after merging the PDF documents.
Fixes the issue that some content got removed and some text became overlapped after printing the PDF document.
Fixes the issue that the page breaking became incorrect after splitting the PDF document.
Fixes the issue that the application threw an exception when reading the first page of the PDF document.

Spire.PDF Pack(Hot Fix) Version:4.8.14(2018-8-28)
New Features:
Supports .NET Core 2.0.
Bug Fixes:
Fixes the issue that some content got lost when printing PDF documents.
Fixes the issue that some content got lost when converting PDF to images.
Fixes the issue that the Unicode encoding 0x2D hyphen in the document became a soft hyphen encoded as 0xAD when converting XPS to PDF.

Spire.PDF Pack(Hot Fix) Version:4.8.8(2018-8-20)
Bug Fixes:
Fixes the issue that the content was wrong when converting EMF to PDF.
Fixes the issue that the formats went wrong when converting EMF to PDF.
Fixes the issue that the content was unreadable when converting PDF to XPS.
Fixes the issue with the message "Do you want to save changes before closing the document?" when closing the generated document after merging the document.
Fixes the issue that the text was garbled when extracting text from PDF.

Spire.PDF Pack(Hot Fix) Version:4.8.5(2018-8-10)
New Features:
Supports getting the conformance level of the Pdf/A-2A document.
Code: Select all
PdfConformanceLevel conference= PdfDocument.Conformance;

Bug Fixes:
Improves the speed of the conversion from PDF to XPS.
Fixes the issue that content was garbled when converting PDF to SVG.
Fixes the issue that application threw an exception when converting PDF to Image.
Fixes the issue a black area appeared when drawing EMF image on the PDF document.
Fixes the issue that application threw an exception when getting the layers of the PDF document.
Fixes the issue that application threw an exception when extracting text from the PDF document.
Fixes the issue that some content got removed when converting XPS to PDF.
Fixes the issue that the result was blank after printing the PDF.
Fixes the issue that the origin of coordinates for text and image was totally different. Now it is uniformly on the basis of the top left point.
Fixes the issue that the field content got duplicated when flattening the form fields in PDF.
Fixes the issue that application threw an exception when loading a XPS file.
Fixes the issue that application threw an exception when replacing the image in PDF document.

Spire.PDF Pack(Hot Fix) Version:4.7.11(2018-7-24)
Bug Fixes:
Fixes the issue that caused an exception when extracting text from PDF.
Fixes the issue that there were black areas when drawing EMF to PDF, and optimized the size of the result document.
Fixes the issue that the image couldn't be inserted in PdfGrid on WPF.
Fixes the issue that caused an ArgumentException when replacing image on PDF.

Spire.PDF Pack(Hot Fix) Version:4.7.4(2018-7-13)
Bug Fixes:
Fixes the issue that the formats of graphics in PDF document were printed incorrectly.
Fixes the issue that the QR Code in a Pdf document were printed incorrectly.
Fixes the issue that the data were misplaced when extracting text.
Fixes the issue that the Chinese characters were messy code when extracting text.
Fixes the issue that the content were cut off when merging PDF files.
Fixes the issue that the data got lost when converting PDF to Image.
Fixes the issue that some content was blacked out when converting PDF to PDF/A.
Fixes the issue that XPS file converted from PDF was opened unsuccessfully.

Spire.PDF Pack(Hot Fix) Version:4.6.8(2018-6-27)
New features:
Adds new methods to remove rows or columns from PdfGrid.
Code: Select all
    Grid.Rows.Remove(row);
    Grid.Rows.RemoveAt(index);
    Grid.Columns.Remove(col);
    Grid.Columns.RemoveAt(index);

Bug Fixes:
Fixes the issue that the text cannot be found when using the method FindText.
Fixes the issue that the vertical text was displayed incorrectly when converting EMF to PDF.
Fixes the issue that the background of image changed to black when converting PDF to Word.
Fixes the issue that the text was cut off when printing PDF.
Fixes the issue that the content was wrong when printing.

Spire.PDF Pack(Hot Fix) Version:4.6.4(2018-6-15)
Bug Fixes:
Fixes the issue that the text was clipped a little bit when converting rtf content with justified style to PDF document.
Fixes the issue that the application threw a System.FormatException when printing PDF document.
Fixes the issue that the dotted/dashed lines were displayed as solid lines when converting PDF document to XPS file or printing PDF document on the WPF platform.
Fixes the issue that the application threw a System.NullReferenceException when converting PDF document to image.
Fixes the issue that half page content got removed when printing PDF document.
Fixes the issue that content was misplaced when parsing an EMF to PDF.
Fixes the issue that background became black when printing PDF document.
Fixes the issue that content got removed when converting PDF document to image.

Spire.PDF Pack(Hot Fix) Version:4.6.1(2018-6-7)
Bug Fixes:
Fixes the issue that the format became incorrect when extracting text from a PDF.
Fixes the issue that a memory leak occurred when extracting images from a PDF.
Fixes the issue that the application threw "System.FormatException" exception when extracting images and text.
Fixes the issue that the images got removed when parsing an EMF to PDF.
Fixes the issue that the "FindText()" method could not find the related content.
Fixes the issue that the encryption of PDF got failed when setting the password to be special characters.
Fixes the issue that the application threw an exception when invoking the "AppendPage()" method.

Spire.PDF Pack(Hot Fix) Version:4.5.8(2018-6-1)
New features:
Add a new property "SignFontColor" to support the font color setting for signature content.
Code: Select all
public Color SignFontColor { set; }

Bug Fixes:
Fixes the issue that the result was blurred when printing a PDF.
Fixes the issue that the generated PDF could not be opened when converting EMF to PDF.
Fixes the issue that the setting of italic and bold font style for PdfFreeTextAnnotation content did not make any sense.
Fixes the issue that half page became black when printing a PDF.
Fixes the issue that the generated PDF could not be opened when merging this PDF with any other PDFs.
Fixes the issue that the application threw an "Index was out of range" exception when converting PDF to Word.
Fixes the issue that the pictures got removed when converting PDF to XPS.
Fixes the issue that the image background color wrongly became blue when merging PDF files.
Fixes the issue that the generated PDF could not be opened when duplicating a PDF.

Spire.PDF Pack(Hot Fix) Version:4.5.3(2018-5-17)
Bug fixes:
Fixes the issue that caused OutOfMemoryException when converting PDF to Image.
Fixes the issue that the chart content was lost after printing PDF.
Fixes the issue that caused OutOfMemoryException when removing layers.
Fixes the issue that the signature panel wrongly displayed "signed by" after the signature was certificated.
Fixes the issue that incorrect text was added when adding Code 128C barcode to PDF.
Fixes the issue that the text was offset when converting XPS to PDF.

Spire.PDF Pack(Hot Fix) Version:4.4.11(2018-4-27)
Bug fixes:
Fixes the issue that caused incorrect content when printing.
Fixes the issue that the generated file prompted error after adding page number to Pdf.
Fixes the issue that the space between bold fonts was lost after printing.
Fixes the issue that caused ArgumentException when extracting text.

Spire.PDF Pack(Hot Fix) Version:4.4.6(2018-4-13)
Bug fixes:
Fixes the issue that caused the FormatException when getting ImagesInfo of a page.
Fixes the issue that caused the ArgumentOutOfRangeExcepton when invoking page.FindText() method.
Fixes the issue that caused the AccessViolationExcepetion when converting Pdf to Image.
Fixes the issue that the LineText couldn’t be obtained when extracting the collection of specific text.
Fixes the issue that caused the NullReferenceException when removing Pdf layer.

Spire.PDF Pack(Hot Fix) Version:4.4.0(2018-4-2)
Bug Fixes:
Fixes the issue that caused the NullReferenceException when finding text.
Fixes the issue that caused the NullReferenceException when merging Pdf files.
Fixes the issue that caused the NullReferenceException when extracting text.

Spire.PDF Pack(Hot Fix) Version:4.3.14(2018-3-29)
New feature:
Adds a feature to declare the range when using SimpleTextExtractionStrategy to extract text in PDF.
Code: Select all
     
        PdfDocument doc = new PdfDocument("input.pdf"); 
       RectangleF rec = new RectangleF(0,0,595,760);   
       SimpleTextExtractionStrategy sim = new SimpleTextExtractionStrategy();   
       string content = doc.Pages[0].ExtractText(rec,sim);   
       

Bug fixes:
Fixes the issue that printing in black and white would give a blur result.

Spire.PDF Pack(Hot Fix) Version:4.3.4(2018-3-15)
New Feature:
Add new method to print the PDF page in white & black.
Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("D:\\sample.pdf");
doc.PrintSettings.Color=false;
doc.Print();

Bug solutions:
Fixes the issue that caused wrong background of the image when drawing emf image to PDF file.
Fixes the issue that the line break was added when the text information of the signature is too long.
Fixes the issue of throwing Exception when loading a PDF file.

Spire.PDF Pack(Hot Fix) Version:4.3.0(2018-03-07)
New Feature:
Add new method to support converting the specified range of the document pages to the format file which saved to streams. Kindly note FileFormat.PDF is not supported.
Code: Select all
public Stream[] SaveToStream(int startIndex, int endIndex, FileFormat format);

Bug solutions:
Fixes the issue that caused blank pages when copying page content to a new document.
Fixes the issue of getting the wrong number of PDF attachments.
Fixes the issue that caused NullReferenceException when converting PDF to image.
Fixes the issue that caused NullReferenceException when converting PDF to SVG.

Spire.PDF Pack(Hot Fix) Version:4.2.4(2018-02-09)
Bug Fixes:
Fixes the issue that the background color became black when converting to Image.
Fixes the issue that the value of PdfImageInfo bounds always returned 0.
Fixes the issue that the file size increased when inserting stamp.
Fixes the issue that caused the ArgumentException when using VerifySignature method.
Fixes the issue that the result was garbled when extracting text.
Fixes the issue that the BackgroundRegion property didn't work.

Spire.PDF Pack(Hot Fix) Version:4.2.0(2018-02-05)
Bug Fixes:
Fixes the issue that caused the "Unexpected token Unknown before 8103" exception when loading a file.
Fixes the issue that caused the "Invalid/Unknown/Unsupported format" exception when loading a file.
Fixes the issue that the button field couldn't be added into an existing PDF document.
Fixes the issue that the text was not displayed in its proper position when converting PDF to image.
Fixes the issue that extra black spots were added when converting PDF to image.
Fixes the issue that some texts were garbled when printing a PDF.
Fixes the issue that the result document was blank when converting PDF to PDF/A.
Fixes the issue that the data replacement of attachment in PDF document didn't work.

Spire.PDF Pack Version:4.0(2018-01-26)
Bug Fixes:
Fixes the issue that the PdfLineAnnotation.Location property returned wrong value.
Fixes the issue that the gradient effect lost when converting PDF to SVG.
Fixes the issue that the PdfAttachmentAnnotation object was drawn at a wrong location.
Fixes the issue that the PageSettings.Orientation property didn't work properly.

Spire.PDF Pack(Hot Fix) Version:3.9.604(2018-01-19)
New Features:
Adds new method for new plugin to save HTML to PDF stream.
Code: Select all
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.
Code: Select all
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.


Spire.PDF Pack(Hot Fix) Version:3.9.584(2018-01-08 )
New features:
Supports to extract text from a certain rectangle.
Code: Select all
pdf.Pages[0].ExtractText(new RectangleF(10,20,400,500));

Supports to set Collate when printing.
Code: Select all
PdfDocument.PrintSettings.Collate = true;

Bug Fixes:
Fixes the issue that the VerifySignature method returns false for valid signature.
Fixes the issue that the ProPhotoRGB profile is lost after drawing image.
Fixes the issue that the timeout is kicking in in some cases when using the Spire.Pdf.HtmlConverter.Qt.HtmlConverter.Convert method to convert the same HTML to PDF many times.
Fixes the issue that the position of the signature image changed after saving PDF to image.
Fixes the issue that the time of getting bookmarks keeps increasing.
Fixes the issue that the border is missing when printing.
Fixes the issue that getting page index of a textbox which is placed on multiple pages is incorrect.


Spire.PDF Pack(Hot Fix) Version:3.9.568(2017-12-29)
Bug Fixes:
Fixes the issue that parts of content got messy when saving PDF to Word.
Fixes the issue that the state of checkbox changed to "checked" after setting the value for textbox.
Fixes the issue that the position of text in textbox changed after updating.
Fixes the issue that the result PDF couldn't be opened via Adobe after using pdf.Form.IsFlatten = true.
Fixes the issue that the space of character was incorrect when converting PDF to Word.
Fixes the issue that collapsing bookmarks didn't work.
Fixes the issue that the extracted image was whiter than the original image in PDF.
Fixes the issue that the line style changed from "solid" to "dotted" when printing PDF.
Fixes the issue that caused PdfException when loading file.
Fixes the issue that some extra blank characters were added when converting HTML to PDF with IE7.
Fixes the issue that the border was missing when printing PDF.
User avatar

amy.zhao
 
Posts: 2328
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF