Spire.PDF for Python 10.8.1 supports returning imageInfo[i].Image as a byte[] type
2024-08-21 09:48:08
We are excited to announce the release of Spire.PDF for Python 10.8.1. This version supports returning imageInfo[i].Image as a byte[] type. Besides, the issue that highlighting positions are inaccurate when searching and highlighting text is fixed in this update. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6888 Supports returning imageInfo[i].Image as a byte[] type. byteResult = imageInfo[i].Image.ToArray() fileName = outputFile_1 + "Bug_6888_{0:d}.png".format(i) with open(fileName,'wb') as f: f.write(byteResult) New feature SPIREPDF-6902 Synchronizes the PdfTextReplaceOptions class. pdf=PdfDocument() pdf.LoadFromFile(inputFile) page = pdf.Pages[0] textreplacer = PdfTextReplacer(page) options = PdfTextReplaceOptions() options.ReplaceType =…
Spire.PDF for Python 10.7.1 supports converting PDF to PPTX
2024-07-09 08:35:58
We're pleased to announce the release of Spire.PDF for Python 10.7.1. This version supports converting PDF documents to PPTX documents, and also adds new encryption and decryption interfaces for PDF documents. In addition, some issues that occurred when converting PDF to PDF/A and HTML have been successfully fixed. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6830 Adds new encryption and decryption interfaces for PDF documents. # Encryption pdfDocument = PdfDocument() securityPolicy = PdfPasswordSecurityPolicy("123456789", "M123456789") securityPolicy.EncryptionAlgorithm = PdfEncryptionAlgorithm.AES_128 securityPolicy.DocumentPrivilege = PdfDocumentPrivilege.ForbidAll() securityPolicy.DocumentPrivilege.AllowPrint = True pdfDocument.Encrypt(securityPolicy) pdfMargin = PdfMargins()…
Spire.PDF for Python 10.6.1 supports comparing PDF documents
2024-06-14 06:00:17
We're pleased to announce the release of Spire.PDF for Python 10.6.1. This version supports comparing PDF documents and fixes some known issues, such as the application throwing an exception when obtaining image coordinates. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6784 Supports comparing PDF documents. pdf1 = PdfDocument() pdf1.LoadFromFile(inputFile_1) pdf2 = PdfDocument() pdf2.LoadFromFile(inputFile_2) comparer = PdfComparer(pdf1, pdf2) comparer.Compare(outputFile) Bug SPIREPDF-6764 Fixes the issue that the application threw an exception when obtaining image coordinates. Bug SPIREPDF-6795 Fixes the issue that the application threw an exception when getting images…
Spire.PDF for Python 10.5.2 supports extracting text from PDF table cells
2024-05-10 07:06:52
We're pleased to announce the release of Spire.PDF for Python 10.5.2. This version supports the table.GetText(i,j) method for getting the text of table cells in PDF, and also synchronizes several interfaces such as PdfTextExtractor, PdfTextFinder and PdfCompressor interfaces. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Synchronizes the PdfTextExtractor and PdfTextFinder interfaces. New feature SPIREPDF-6545 Synchronizes the table.GetText(i,j) method to get the text of table cells. New feature SPIREPDF-6594 Synchronizes the PdfCompressor interface in Python. New feature SPIREPDF-6702 Synchronizes the CropBox property in Python. Click the link…
Spire.PDF for Python 10.2.0 supports the PdfBitmap class
2024-02-08 02:32:11
We are pleased to announce the release of Spire.PDF for Python 10.2.0. This version supports the PdfBitmap class and supports obtaining all custom properties of the document. In addition, the issue that finding text failed has also been fixed. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6492 Supports the PdfBitmap class. New feature SPIREPDF-6518 Supports getting all custom properties of the document. doc = PdfDocument() doc.LoadFromFile(inputFile) docInfo=doc.DocumentInformation customProperties =docInfo.GetAllCustomProperties() New feature SPIREPDF-6525 Adds the PdfAttachmentAnnotationWidget.Data property to support obtaining attachment document data. New feature SPIREPDF-6538 Adds a…
Spire.PDF for Python 10.1.1 adds the custom exception class SpireException
2024-01-09 07:56:25
We are delighted to announce the release of Spire.PDF for Python 10.1.1. This version adds the custom exception class SpireException. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Adds the custom exception class SpireException. Click the following link to get Spire.PDF for Python: https://www.e-iceblue.com/Download/Spire-PDF-Python.html
Spire.PDF for Python 9.12.0 supports creating list box form fields
2023-12-08 09:23:06
We are excited to announce the release of Spire.PDF for Python 9.12.0. This version supports creating list box form fields and defining unordered markup styles. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6415 Supports creating list box form fields. listBoxField = PdfListBoxField(page, "listbox") listBoxField.Items.Add(PdfListFieldItem("Item 1", "item1")) listBoxField.Items.Add(PdfListFieldItem("Item 2", "item2")) listBoxField.Items.Add(PdfListFieldItem("Item 3", "item3")) listBoxField.Bounds = listboxBound listBoxField.Font = font listBoxField.SelectedIndex = 0 doc.Form.Fields.Add(listBoxField) New feature SPIREPDF-6416 Supports defining unordered markup styles. marker = PdfMarker(PdfUnorderedMarkerStyle.Asterisk) Click the link below to get Spire.PDF for Python 9.12.0: https://www.e-iceblue.com/Download/Spire-PDF-Python.html