spire.pdf 12.8.5 现已正式发布。该版本优化和调整了内部注释,修改及新增了相关 demo 和文章,并对注释相关的类名及属性进行了调整,以提升 api 的一致性。详情如下。
调整:
- 类名调整
- 属性调整
| 原类名 | 新类名 |
| pdftextmarkupannotationwidget | pdftextmarkupannotation |
| pdffreetextannotationwidget | pdffreetextannotation |
| pdftextannotationwidget | pdftextannotation |
| pdfpopupannotationwidget | pdfpopupannotation |
| pdflineannotationwidget | pdflineannotation |
| pdfrubberstampannotationwidget | pdfrubberstampannotation |
| pdfpolylineannotation | pdfpolylineannotation |
| pdfattachmentannotation | pdffileattachmentannotation |
| pdfembeddedgotoaction | pdfgotoembeddedaction |
| pdftextmarkupannotation | pdfhighlightannotation |
| 原属性 | 新属性 | 说明 |
| xxx.text | xxx.contents | 注释文本内容 |
| xxx.author | xxx.title | 注释作者 / 标题 |
| xxx.bounds | xxx.rectangle | 注释区域矩形 |
| xxx.textmarkupcolor | xxx.color | 高亮 / 标记颜色 |
| xxx.opacity | xxx.strokingopacity | 描边不透明度 |
| xxx.lineendingstyle | xxx.calloutlineendingstyle | 引出线端点样式 |
| xxx.calloutlines | xxx.calloutline | 引出线点数组 |
| xxx.borderstyle / xxx.borderwidth(lineborder) | xxx.border.style / xxx.border.width | 线条边框样式 / 宽度 |
| xxx.beginlinestyle / xxx.endlinestyle | xxx.startingstyle / xxx.endingstyle | 线条端点样式 |
| xxx.innerlinecolor / xxx.backcolor | xxx.interiorcolor / xxx.color | 线条内部颜色 / 背景色 |
| xxx.leaderlineext | xxx.leaderlineextension | 引线延长 |
| xxx.bordereffect = pdfbordereffect.bigcloud | xxx.border.effect = pdfbordereffect.cloudy | 边框云状效果 |
获取 spire.pdf 12.8.5 请点击:




