Spire.PDF 12.8.5 Adjusts Annotation Classes and Properties

2026-08-26 06:09:44

We're pleased to announce the release of Spire.PDF 12.8.5. This version optimizes and adjusts internal comments, updates and adds demos, revises related articles, and adjusts annotation class names and properties for improved consistency. More details are listed below.

Here is a list of changes made in this release

Class Name Adjustments

Old New
PdfTextMarkupAnnotationWidget PdfTextMarkupAnnotation
PdfFreeTextAnnotationWidget PdfFreeTextAnnotation
PdfTextAnnotationWidget PdfTextAnnotation
PdfPopupAnnotationWidget PdfPopupAnnotation
PdfLineAnnotationWidget PdfLineAnnotation
PdfRubberStampAnnotationWidget PdfRubberStampAnnotation
PdfPolyLineAnnotation PdfPolylineAnnotation
PdfAttachmentAnnotation PdfFileAttachmentAnnotation
PdfEmbeddedGoToAction PdfGoToEmbeddedAction
PdfTextMarkupAnnotation PdfHighlightAnnotation

Property Adjustments

Old New Description
xxx.Text xxx.Contents Annotation text content
xxx.Author xxx.Title Annotation author / title
xxx.Bounds xxx.Rectangle Annotation bounding rectangle
xxx.TextMarkupColor xxx.Color Highlight / markup color
xxx.Opacity xxx.StrokingOpacity Stroking opacity
xxx.LineEndingStyle xxx.CalloutLineEndingStyle Callout line ending style
xxx.CalloutLines xxx.CalloutLine Callout line points
xxx.BorderStyle / xxx.BorderWidth(lineBorder) xxx.Border.Style / xxx.Border.Width Line border style / width
xxx.BeginLineStyle / xxx.EndLineStyle xxx.StartingStyle / xxx.EndingStyle Line ending styles
xxx.InnerLineColor / xxx.BackColor xxx.InteriorColor / xxx.Color Line interior color / background color
xxx.LeaderLineExt xxx.LeaderLineExtension Leader line extension
xxx.BorderEffect = PdfBorderEffect.BigCloud xxx.Border.Effect = PdfBorderEffect.Cloudy Cloudy border effect
Click the link below to download Spire.PDF 12.8.5:
More information of Spire.PDF new release or hotfix: