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: