Version 26.6 Release Notes - SelectPdf Library for .NET | |
Version 26.6 adds converting Excel workbooks and PowerPoint presentations to PDF, splitting documents, extracting their images, reading and removing a document's security, empty signature fields and certification signatures. It also brings Word to PDF closer to Word's own output (SVG pictures as vectors, line spacing, charts, metafiles, Indic scripts), makes filled forms convert to PDF/A, and opens damaged PDF files that other readers open. Code written for 26.5 compiles unchanged; read Behavior changes before you upgrade.
Area | 26.5 | 26.6 |
|---|---|---|
Excel workbooks | Not available | ExcelToPdf: xlsx, xls, csv and more to PDF; PdfExcelElement and PdfExcelSection on pages and in headers and footers |
PowerPoint presentations | Not available | PowerPointToPdf: slides, notes pages or handouts to PDF; PdfPowerPointElement and PdfPowerPointSection |
Splitting a document | Not available | PdfSplitManager: page ranges, odd or even pages, a fixed page count, the top level bookmarks, a file size |
Changing what a page draws | Not available | PdfPage.ObjectModel: the text, images, paths and groups of a page, moved, resized, recolored, replaced or removed; PdfDocument.Layers for layers |
XFA forms (dynamic forms that lay themselves out, as Adobe LiveCycle Designer makes them) | No fields; a hybrid form's XFA dropped when filled | PdfFormManager fills them through the same field types, the form's own scripts running as in Acrobat; XfaMode keeps a hybrid form's XFA |
The words of a page with their position and font | Positions of search hits only | PdfToText.GetWords |
Web fonts that start loading after the page has loaded | Printed in a fallback font when still downloading | Waited for (WaitForWebFonts, on by default) |
Checking and fixing a document for PDF/A, PDF/UA and PDF/X | Not available | PdfValidator reports every rule a document fails; PdfPreflight.Fix fixes what it can and validates again |
Fast Web View | Not available | PdfDocument.Linearize = true |
Extracting images | Not available | PdfImageExtractor |
A document's security | Set with PdfSecurityManager or PdfDocument.Security | Also read with GetSecurityInfo and removed with RemoveSecurity |
Signatures | Approval signatures | Also certification signatures, and empty signature fields to sign later |
SVG pictures in Word documents | Drawn from the PNG copy Word stores beside them | Drawn as vectors |
ConvertToPdfA on a signed document | Converted; the signature no longer verified | Refused |
.NET 11 | Verified with .NET 11 RC 1 | Supported: applications targeting net11.0 use the library unchanged |
Everything in this section is new compared with 26.5.
ExcelToPdf converts an Excel workbook to PDF: xlsx, xlsm, xltx, xltm, xls, xlt, csv, tsv, SpreadsheetML and markdown (ExcelFormat), from a file, a stream or a byte array. Every visible sheet is printed as Excel prints it - its page setup, print area, page breaks and own headers and footers - or laid out on the converter's page (ExcelPageSetup). ExcelToPdfOptions adds Worksheets, Layout (ExcelLayout: fit the sheet, its columns or its rows on one page), GridLines (ExcelGridLines), SheetBookmarks (one outline entry per sheet), Password and more to the options the HTML and Word converters share. An .xlsb workbook is refused, and an empty workbook converts to one empty page. Failures surface as ExcelToPdfException; ExcelToPdfResult describes the document produced. See Getting Started.
PowerPointToPdf converts a PowerPoint presentation (pptx, pptm, potx, potm, ppsx, ppsm) to PDF: one page per slide, the notes pages, or handouts with 1 to 9 slides on a page (PowerPointPublish, SlidesPerHandout), at the slide size or scaled onto the converter's page (PowerPointPageSetup); hidden slides on request (ShowHiddenSlides). Failures surface as PowerPointToPdfException; PowerPointToPdfResult describes the document produced. See Getting Started.
Both converters take the HTML converter's document setup unchanged - margins, header and footer bands, PDF/A and PDF/X, security, viewer preferences, document properties, compression, page ranges and single-page mode - and produce tagged, accessible documents: tables with their header cells, charts and pictures with their alternative text, slide titles and links, declared as PDF/UA-1 or PDF/UA-2 and validating at every PDF/A level that combines with them. Handouts and notes pages are not available for tagged or accessible output.
PdfExcelElement and PdfPowerPointElement draw a workbook or the slides of a presentation into a region of a page, flowing onto the pages that follow, and PdfExcelSection and PdfPowerPointSection put one into the header or footer of any converter - the Excel and PowerPoint twins of PdfWordElement and PdfWordSection. See Pdf Excel Element, Pdf PowerPoint Element, Headers and Footers and Headers and Footers.
Like Word to PDF, Excel and PowerPoint to PDF are available in the full library only, run in-process with no engine launched, and work on Windows, Linux and macOS.
PdfToWord, PdfToExcel and PdfToPowerPoint convert a PDF document to an editable Office file, from a file, a stream or an array of bytes, in the full library only. Failures surface as PdfToWordException, PdfToExcelException and PdfToPowerPointException.
PdfToWord writes Word (.docx), RTF, OpenDocument, HTML or Markdown (PdfToWordOptions.Format, PdfToWordFormat), as flowing text for editing or with every page reproduced exactly (Layout, PdfToWordLayout), with options for fonts, headers and footers, links, bookmarks and page ranges; ConversionResult.Fonts says which fonts were embedded or replaced.
PdfToExcel writes tables as cells with typed values, a worksheet per table or per page (PdfToExcelOptions.Sheets), reading numbers and dates in the document's culture (Culture). By default a workbook also keeps the document's pictures (Images) and, on a worksheet of its own, the text outside the tables (TextOutsideTables).
PdfToPowerPoint writes a slide per page, with the document's tables as PowerPoint tables (PdfToPowerPointOptions.Tables). See Pdf to Word, Excel, PowerPoint.
PdfSplitManager splits a PDF document into new PdfDocument objects: ExtractPages takes pages in the order given (such as "1,3-5,7-"), ExtractOddPages and ExtractEvenPages take every other page, Split divides the document into parts of a fixed page count, SplitByBookmarks makes one document per top level bookmark, titled with its text, and SplitBySize keeps every part under a file size. The source is not modified; each part keeps the document information and the bookmarks and form fields of its pages. See Pdf Split.
PdfImageExtractor returns the raster images of a document, page by page, as encoded bytes (ExtractImages) or writes them to files (Save, with ImagesPath and ImagesPrefix), in the format set by ImagesFormat (PNG by default). Like PdfToText and PdfRasterizer, it is a PdfTool: it loads a file, stream, byte array or PdfDocument, and StartPageNumber and EndPageNumber select the pages. Failures surface as PdfImageExtractorException. See Extract Images from PDF.
PdfToText.GetWords returns every word of a document or of one page as a PdfTextWord: its text, page, rectangle (in points from the page's top-left corner, as for Search), font name and size, the direction it runs in and whether a space follows it, in reading order - right-to-left words and lines as they are read, vertical writing as columns. See Search for Text in PDF.
PdfPage.ObjectModel reads and changes what a page of a loaded document draws: every text, image, path and group, in painting order, with its bounds, colors, opacity and layer. Objects can be moved, rotated, resized, removed, duplicated, brought to the front or sent to the back and recolored, and PdfTextObject.ReplaceText writes new text in the object's font, or in an installed font that can draw every character. HitTest, GetObjectsInRectangle and GetObjectsInLayer find objects. See Page Objects.
PdfDocument.Layers adds layers (optional content) to new documents - content is drawn in one with PdfPageElement.Layer, a whole header, footer or stamp with PdfTemplate.Layer, nested layers, shown or hidden at open, PrintState - and lists and changes those of a loaded document: show or hide a layer when the document opens, lock, rename or move it, add one and move page objects into it, remove a layer with what it draws or keep its content, and Flatten every layer into plain page content. PDF/A-1 refuses layers. See Layers.
PdfAccessibilityManager fixes the alternative text of the images in an existing tagged document: Figures lists its figures in reading order with their page and box, MissingAlternateText those with no description (or only a file name, a numbered name or a GUID), and each PdfFigure takes an AlternateText, an ActualText or IsDecorative; GetImage renders one for review. Untagged documents are refused. See Alternative Text for Images.
Setting PdfDocument.Linearize to true saves the document linearized ("Fast Web View"): first page first, with hint tables, so a viewer that reads them - Chrome, Edge, Adobe Acrobat - shows the first page of a large document served over the web before the rest has arrived. It works on new, converted and loaded documents; an encrypted document keeps its passwords, PDF/A and PDF/UA documents keep their conformance, and a signed document makes the save throw (linearize, then sign). See Fast Web View.
XFA forms are filled by PdfFormManager. A form that lays itself out (a dynamic XFA form, whose fields exist only in its XFA template) lists its fields in Fields as the classic types - PdfFormFieldTextBox for text, numeric, date and password fields, PdfFormFieldCheckBox, PdfFormFieldComboBox, PdfFormFieldListBox, PdfFormFieldRadioButtonList for a group of radio buttons - named by their path in the form, with their page and rectangle in the form as laid out. Setting a value runs the form's own scripts as in Acrobat (its calculations and validation); ScriptMessages holds what they report, ScriptErrors the scripts that failed, and Click presses one of the form's buttons. The form is saved as the same dynamic form, or with Flatten as the pages it lays out. XfaMode (PdfFormXfaMode) chooses: Auto (the default) fills a hybrid form through its AcroForm fields and saves it without its XFA, as before; Xfa keeps the hybrid's XFA with the same values; AcroForm ignores the XFA. IsXfaForm says whether a form is defined in XFA. PdfSecurityManager.Sign naming a signature field of such a form signs it as Acrobat does; the signed document is still an XFA form. A form set in Myriad Pro, the font Adobe LiveCycle Designer uses by default, keeps its layout on a machine without Acrobat (a Linux server, for example): the library carries Source Sans 3, a font of the same widths. Fields also gain FormattedValue, Caption, ToolTip, Visible and Required, text boxes Multiline, and choice and radio fields ItemTexts. See Form Filling.
PdfSanitizeManager sanitizes a document from an untrusted source: Scan reports what it holds (PdfSanitizeReport, with HasActiveContent for a server that refuses rather than cleans), Sanitize removes JavaScript, actions that leave the document, embedded files, multimedia, XFA, hidden layers and private data (PdfSanitizeOptions; web links, invisible text, metadata and form fields optionally) and writes the file whole, or with Rasterize replaces every page with an image of itself. See Pdf Sanitizing.
PdfValidator checks an existing document against PDF/A (parts 1 to 4, every conformance level), PDF/UA-1 and PDF/UA-2, and PDF/X-1a, PDF/X-3 and PDF/X-4 (PdfConformanceStandard). Validate returns a ValidationReport: whether the document complies, and each failed check as a RuleFailure - the rule, what it requires, why the object fails it, and where the object is (a path, its page and its object number). ClaimedStandard returns the standard the document says it conforms to. ValidationOptions limits the failures listed and the time the validation may take; a report that stopped at a limit says so and is never compliant. The document is only read. See Pdf Validation.
PdfPreflight.Fix fixes a document for one of those standards and validates the result: converted to the PDF/A level asked for, tagged for PDF/UA when it has no tags, or prepared for PDF/X with an output intent and its color converted to CMYK through the output profile given in PreflightOptions. PreflightResult holds the fixed document, the fixes applied (PreflightFix) and the report on the fixed document, so what needs a person - a figure's alternative text, for example - is listed. A signed document is refused. See Pdf Preflight.
Both are in the full library only and run on Windows, Linux and macOS. A wrong password for an encrypted document throws PdfDocumentException.
WaitForWebFonts (HtmlToPdfOptions, HtmlToImage, PdfHtmlElement, HtmlToImageElement, PdfHtmlSection; true by default) waits for web fonts still loading before the page is measured and printed. A web font first used after the page's load event - by text a script adds, or a style switched later - could be printed in a fallback font while it was still downloading. The wait ends after 10 seconds at most.
PdfSecurityManager.GetSecurityInfo returns a PdfSecurityInfo describing the loaded document as it arrived: whether it is encrypted, the algorithm, key size and revision, whether its metadata is encrypted, whether a user or owner password is needed, every permission, and the number of signatures and whether it is certified.
PdfSecurityManager.RemoveSecurity clears both passwords, grants every permission and saves the document without encryption. Load an encrypted document with its password first. Signatures the document carries no longer verify after it.
PdfSecurityManager.AddSignatureField adds an empty signature field at a rectangle of a page, to be signed later by a Sign overload that names the field. It is refused on a signed document, since a new field would invalidate its signatures.
Certification signatures:PdfSecurityManager.CertificationLevel (PdfCertificationLevel.None, NoChangesAllowed, FormFillingAllowed, FormFillingAndAnnotationsAllowed) makes a signature made with a certificate file certify the document and say what may change after it. A certification must be the document's first signature.
See Advanced Security and Digital Signatures.
SVG pictures, shapes filled with an SVG picture and SmartArt with SVG fills are drawn as vectors instead of from the PNG copy Word stores beside them. In a tagged document, and for an SVG that holds text, the PNG copy is still drawn.
Line spacing as Word sets it for fonts such as Aptos, Montserrat, Poppins, Cascadia Code, Sitka, Gabriola and Bahnschrift: on Linux a page holds as many lines as in Word (Aptos, Montserrat and Poppins held fewer), and on Windows and Linux the first line of a page sits where Word puts it.
When the application's fonts folder holds several weights of a family, regular text is drawn in the regular face (Aptos Light or Montserrat Medium was used).
Pictures stored as EMF+ are drawn (a picture with only EMF+ content was blank), and areas a metafile fills through a pattern (such as the bars of some charts) are drawn in their color instead of almost invisibly. Lines in EMF pictures keep their caps, joins and miter limit.
Charts take the colors of their own theme override, as in Word. A hidden secondary value axis keeps its fixed range, and the series of a deleted secondary axis with an automatic range are plotted against the primary scale.
A text box set to grow with its text grows with it (the text past its stored height was cut). A page break inside a text box takes a line, as in Word. A text box with an out-of-range relative size no longer produces a damaged PDF.
A line broken at a soft hyphen ends with a hyphen.
Tracked changes: a section break that is a tracked deletion is removed, as in Word's final view, so the section takes the next section's layout and columns and its last paragraph runs on into the next one. A .doc section with a tracked change keeps its page size, orientation and column count.
Tables: a legacy merged row and an over-wide automatic table with rows of different lengths are laid out like Word. An IF field whose result holds a table keeps it when fields are updated.
RTF: a line break inside a field result is kept, and a font named with a language qualifier, such as "Times New Roman (Arabic)", finds the installed font.
A SmartArt picture that shares its image with an earlier picture is drawn with it.
Documents that failed to convert now convert: a fixed RTF table whose rows have different cell counts, a tracked row of a nested table inside a content control, a struck-through or underlined symbol or list label, an EMF picture that draws lines outside a path, and a WMF picture whose monochrome bitmap is truncated. A .doc picture whose compressed data has a wrong checksum is drawn instead of a placeholder.
Fonts: Chinese fonts named in Chinese (such as 宋体 or 微软雅黑) are found. A missing KaiTi or FangSong is replaced by a Chinese face of the system, as Word does, and a missing FangSong_GB2312 by SimSun. Arabic text in a theme font is drawn in Times New Roman, as in Word. Symbols from U+2B00 to U+2BFF (such as ⭐ and ⬅) are drawn instead of left out.
Linux: a conversion that replaced a missing font no longer fails with "Cannot access a closed Stream".
Date and time fields use the document's language: a German document shows "Dienstag 10 November 2026" where it showed "Tuesday 10 November 2026".
Page references show the page their bookmark is on, save date and print date fields show today's date, style references (STYLEREF) show the heading or styled text they point to, also per page in a header or footer, note references (NOTEREF) show the footnote's number, and LISTNUM fields number as in Word; they showed the result saved in the document.
A document that names no font is drawn in Word's default, Aptos 12 points, with Word's paragraph spacing, instead of Times New Roman 10 points.
Traditional Chinese text is drawn in a Traditional Chinese face when the document's font is missing, and fonts named in Traditional Chinese, Japanese or Korean (such as 新細明體, MS 明朝 or 맑은 고딕) are found.
Cyrillic and other letters in an equation are drawn (they were left out).
Documents that failed to convert now convert: tables nested hundreds of levels deep (their deepest levels are kept as text), footnote references whose numbers do not match the footnotes, an RTF comment on the first line, a .doc whose streams are named in another case, a .doc with an unusual document property or picture, a document of thousands of pages (it could end the process with a stack overflow), and a table that breaks over a page just before pictures (Markdown above all).
A worksheet set to print its row and column headings prints them, on left-to-right and right-to-left sheets, tagged or not.
On a host without Calibri or Cambria, Word, Excel and PowerPoint documents are drawn in Carlito and Caladea, which have the same widths, so lines and tables break as in Office. Greek and Cyrillic in Cambria are still drawn.
Excel to PDF: text in a script the cell's font lacks is drawn in a font that has it, in a cell that mixes it with Latin too. Emoji are drawn, on every host.
Excel to PDF: workbooks written by other programs convert, including an encrypted one and a scatter chart with two value axes. A row with wrapped text and no height of its own fits its text, as in Excel, and a CSV file in UTF-8 is read as UTF-8.
PowerPoint to PDF: a shape's shadow is drawn with its blur and color, a shape's gradient keeps its own direction, and tab stops and a run's outline are kept.
Excel to PDF converts large workbooks to tagged and PDF/UA output much faster, and uses far less memory on workbooks with much rich text or many charts.
PowerPoint to PDF uses far less memory on decks with much text.
Excel to PDF: more workbooks written by other programs convert, among them ones with an empty style sheet, compound files of an unusual layout, comments, pivot tables, page breaks or charts with missing parts, headers, number formats or shared strings written short, and a pivot table with no cached fields. A sheet whose print scale is 0 is printed at 100%, as Excel does; it was printed at 10%. A .xls file whose sheets came out as one empty page converts with its sheets. PowerPoint to PDF: a table cell spanning past its table converts.
Excel to PDF on Linux: a rich-text cell whose text falls back to another font (for Chinese, Japanese or Korean text) is drawn and can be searched; its text came out as unreadable codes.
Excel to PDF conversions running at the same time keep their own cells: one could print another workbook's cells or fail with "An item with the same key has already been added". The same holds for charts in Word documents converted at the same time.
Indic scripts in Word to PDF, PdfTextElement and PdfTextSection: Kannada and Malayalam conjuncts are formed, the Devanagari visarga takes its own advance instead of overlapping the next letter, and is counted when text is measured, and in Word to PDF Bengali, Gurmukhi, Gujarati, Odia, Tamil, Kannada and Malayalam words no longer stand in wide gaps.
Kannada and Telugu text is extracted in the order it was written, and PdfToText.Search finds it.
Thai text drawn with a font that has Thai ligatures, such as Noto Sans Thai, uses them, as Word does.
Text drawn with an embedded font and WordSpacing, or justified, in PdfTextElement and PdfTextSection, ends where it was measured: every space of a run of spaces takes the word spacing, and a justified line reaches its margin (it ended about 4 points short at 10 points).
HTML on Windows and macOS: when the application's fonts folder holds several weights of a family, font-weight: 400 text is drawn in the regular face (the light face could be used).
Filled forms converted with ConvertToPdfA validate as PDF/A-2b: check marks and other ZapfDingbats text are drawn with the right symbols (a check mark printed as "4"), a checked box stays checked, check boxes and radio buttons get an appearance for each state, Adobe Reader usage rights (which the conversion invalidates) are removed, and pages that use CMYK colors through other color spaces validate.
ConvertToPdfA to PDF/A-2 or later keeps transparency groups, so overlapping translucent shapes keep their colors (they came out darker). A conversion keeps bold and italic faces when it replaces a font, and a conversion to PDF/A-3 keeps file attachments, as associated files; they were removed. Pages whose marked content carries XMP metadata of its own now validate after the conversion.
A document-level attachment (PdfFileAttachmentElement without a rectangle) records its MIME type, so a PDF/A-3 document carrying one validates.
In a tagged document, an image's AlternateText is written to the file.
PDF/A-1 and PDF/X-1a output (PdfStandard.PdfA, PdfA1A and PdfX, and ConvertToPdfA to PDF/A-1), which allow no transparency, paints see-through content as it showed over a white page: grey text, light tints and translucent backdrops came out black or as dark boxes, and a highlight hid the text it marks. Images with transparency are drawn onto white.
PDF/X-1a output converts compressed images stored with a predictor to CMYK; they stayed RGB.
ConvertToPdfA: a document with a color space written inline converts (the conversion failed), a spot color over an ICC alternate keeps its color, a page that nests its graphics states more than 28 levels deep validates, empty document properties no longer fail PDF/A-1, push buttons get the appearances PDF/A requires, and images and color spaces with version 4 ICC profiles validate as PDF/A-1.
PdfDocument.BeginTag(PdfTagType.TableOfContents) and TableOfContentsItem: content drawn under them no longer fails, and the document gets a TOC element with a TOCI per entry.
A signature made with PdfDigitalSignatureElement on a new PDF/A-1b or PDF/A-1a document is valid; it was broken when the document was saved.
Signing a document that claims PDF/UA keeps it conformant: the signature field is described and its widget joins the structure tree, with PdfDigitalSignatureElement and with PdfSecurityManager.Sign.
Windows: a PFX file whose key is held by an older cryptographic provider (such as "Microsoft Enhanced Cryptographic Provider v1.0") signs; every signature failed with "The parameter is incorrect".
ValidateSignatures no longer reports a signature invalid because a revocation response stored in it cannot be read.
Removing or changing the encryption of a document whose images use an indexed color palette keeps their colors.
Filling a form in an encrypted document keeps its field names, and removing or changing the encryption keeps its fields' appearance.
A time-stamp server that refuses, times out or cannot be reached is reported as such when signing.
A damaged PDF file that other readers open is opened too: when a document cannot be read as written (a damaged or missing cross-reference table, wrong offsets or stream lengths, a catalog the trailer does not point to), it is read again with its structure rebuilt from the objects the file contains. A document that reads as written is read as before. PdfToText and PdfRasterizer read such a document through the same repair. Set GlobalProperties.AutoRepair to false to refuse such documents instead. A repaired document is saved in full, so a signature it carried no longer verifies after it is saved.
Files that could not be opened now open: a number written with a trailing period (such as 300.) before a line break, and a page tree with an entry that is missing or not a page.
Files that crashed the process with a stack overflow (objects referring to each other in a cycle), or hung while reading or saving (a page tree whose parent chain leads back to itself), are read normally, and a file with damaged compressed data no longer runs out of memory.
Saving no longer fails on a document whose output intent is malformed, whose XMP metadata has no xmpmeta wrapper and differs from its document information, or, with PdfCompressionLevel.Best, that uses a malformed font or a font whose Unicode map has empty entries. A page can be added to a document whose page count disagrees with its pages.
Saving a loaded document with JPEG compression (the default) leaves CMYK images, JPEG 2000 images and images with an inverting decode array as they are; CMYK images turned into RGB, JPEG 2000 images were re-encoded as lossy JPEG (slowly, on large ones), and the others came out inverted. On macOS, compressed images with transparency keep their colors; red and blue could be swapped.
A document marked as tagged that has no structure tree is saved correctly; the saved file referred to an object it did not contain.
Links and bookmarks to named destinations resolve in a document whose name tree is not sorted, and reading such a tree no longer fails or hangs. A bookmark that names its page by number keeps its page through PdfResizeManager.
Forms: a form whose fields share their list of kids loads; a check box or radio button with no appearance for its state is drawn when flattened instead of disappearing; a flattened comb field is drawn as a comb whatever its name, and flattening no longer fails on a field with a malformed alignment or an empty name; a flattened single-line field keeps a long value on one line, cut off at its box.
Redaction: redacting a word removes only that word on lines whose text holds parentheses, backslashes or octal codes (the whole line was removed), and a page with a malformed text or graphics matrix can be redacted. Images on a redacted page stay intact, and an image shared with other pages is erased only on the redacted page. Appending a document whose pages are stored with compressed predicted content keeps them readable.
PdfResizeManager carries NonFullScreenPageMode.
Forms: saving a filled form appends only the fields that changed. Every field was written again, so a signed form grew by tens of kilobytes on each save.
Forms: PdfFormManager.Fields[name] returns null for a name the form does not have, as documented; it threw ArgumentException.
PdfPage.DisplayHeader and DisplayFooter hide the header and footer on a page of a converted document; they did nothing there.
PdfViewerPreferences.NonFullScreenPageMode and HtmlToPdfViewerPreferences.NonFullScreenPageMode are written to the file; they were kept on the object only.
PdfTextSection.Transparency and PdfImageSection.Transparency are applied (the text section's covers its background too), and PdfImageElement.TransparentRendering = false draws the image on white; all three were accepted and ignored.
PdfImageSection draws BMP, GIF, WebP and TIFF images (the first frame), not only PNG and JPEG. A JPEG with stray bytes after a segment no longer hangs, and a PNG with an empty private chunk is drawn instead of failing.
Linux and macOS, with the engine in process: a child process of the application that exits while the engine starts (for example a PdfToText call during the first conversion) is no longer left waiting until its timeout.
A page that calls window.print() while it loads (receipts and invoices often do) converts normally; the conversion waited until it timed out.
PdfDocument.Append: the appended document keeps its page labels (such as i, ii, iii), which were dropped, and a loaded document appended to itself is appended; nothing was added.
A page whose root element is right-to-left (<html dir="rtl">: Arabic, Hebrew and Persian sites) is printed in place at any WebPageWidth; it was shifted sideways.
A page with smooth scrolling (scroll-behavior: smooth) and a sticky or fixed header prints its header at the top of the page; the header could be drawn over the content below it.
When the Chromium engine cannot be found, the error names the folders that were searched (for a web site, its bin folder). It named the process's current folder, which under IIS is a system folder.
Pages added with PdfDocument.Append, or taken from another document with Pages.Add, Pages.Insert, AddPage(PdfPage) or InsertPage(int, PdfPage), no longer show the document's header and footer, which were drawn over the page's own content; templates added with Templates.Add (a watermark, for example) are still drawn on every page, and a page added afterwards shows the header and footer again. A loaded destination document is unchanged.
A document produced to PdfStandard.PdfX keeps no link or other annotation inside the printed page, as PDF/X-1a requires; the links' text stays.
ConvertToPdfA throws PdfDocumentException for a document that arrived signed, since the conversion would invalidate the signature. Convert the document first and sign the PDF/A result. A document with an empty signature field still converts.
In a tagged document, an image given no AlternateText is written with no description, so a PDF/UA check reports it until it is described; set AlternateText, or fix an existing file with PdfAccessibilityManager.
Word to PDF updates a document's fields as Word does when it saves a PDF: dates and times, page numbers and page counts, cross-references, sequence numbers and IF fields are updated, and formulas, document properties (author, title, custom properties), the file name, word counts and merge fields keep the result saved in the document. Every field was recalculated before, so a formula Word shows as saved could print a different value. UpdateFields on WordToPdfOptions, PdfWordElement and PdfWordSection now defaults to false, which means this; set it to true to recalculate every field as before. A locked field is never updated, as in Word.
With RenderingEngine.ChromiumRemote, the library connects to the engine directly and no longer goes through the proxy set by HTTP_PROXY, HTTPS_PROXY or the system: an engine on the same host or network was unreachable without NO_PROXY, and the access token was sent to the proxy. A deployment that can reach the engine only through a proxy needs a direct route to it.
WordToPdf with a GlobalProperties.LicenseKey that is not valid, or has expired, throws LicenseException, like every other entry point; it threw WordToPdfException.
With Header.DisplayOnFirstPage = false and the header shown on odd and even pages, the content of the first page now starts where the header would have been, instead of below a blank band of the header's height, so more fits on the first page and page breaks can move. To keep the space, add a top margin to the first element of your HTML. The first page keeps the header's space with GenerateSinglePagePdf, WebPageFixedSize, FitWideContent, a PageRanges without page 1, or when the page has a fixed-position footer.
The packages of 26.5: SelectPdf.Universal, one SelectPdf.Universal.Native.<rid> per platform (win-x64, win-x86, linux-x64, linux-arm64, osx-arm64), the platform packages SelectPdf.Universal.Windows, .Linux, .Linux.Arm64 and .MacOS, and the optional SelectPdf.Universal.Fonts.
New: SelectPdf.Universal.Tools.<rid>, the PDF tool (PDF to text, PDF to image, image extraction) on its own, without the Chromium engine, for an application that works with existing documents only. Each SelectPdf.Universal.Native.<rid> package depends on the Tools package of its platform, so an application that references a Native or platform package gets the PDF tool as before and needs no change. See Installation.
.NET Framework projects that use packages.config (ASP.NET Web Forms, MVC 5, desktop applications) get everything in their bin folder: NuGet installs the Windows Native and Tools packages, which it refused in 26.5 as having no compatible files, and the build copies the Chromium engine, the PDF tool and the text shaping library libHarfBuzzSharp.dll (without it, Word, RTF, Excel and PowerPoint conversions of complex scripts such as Hindi failed). An ASP.NET Web Site (a site opened as a folder, without a project file) runs no package build step, so these files are copied by hand there; see Installation.
The SelectPdf.Universal package now also contains the Carlito, Caladea and Noto Emoji fonts (SIL Open Font License 1.1), which Word, Excel and PowerPoint to PDF draw with on a host without Calibri, Cambria or an emoji font; the licenses are in the package.
The SelectPdf.Universal package now also contains Little CMS (MIT license, included in the package), which PdfPreflight.Fix converts color to a CMYK output profile with.
The SelectPdf.Universal package now also contains glyph outlines from Noto Sans Symbols (SIL Open Font License 1.1), which ConvertToPdfA draws ZapfDingbats text with; the license is included in the package.