QuadBounds使用itext或pdfbox订购PdfAnnotation标记 [英] QuadBounds Order for PdfAnnotation markup using itext or pdfbox
本文介绍了QuadBounds使用itext或pdfbox订购PdfAnnotation标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
0 1 2 3
* (x1,y1) *************** (x2,y2)
* * *
* * *
* 4 5 * * 6 7
* (x3,y3) *************** (x4,y4)
这是PdfAnnotation或PDFAnnotation的float数组的正确顺序吗?我尝试创建一个pdf注释,但注释是凹的而不是像通常使用adobe reader或acrobat创建的那样的注释
is this correct order for float array for PdfAnnotation or PDFAnnotation? i tried creating a pdf annotation but the annotations are concave not convex like the those generally created by using adobe reader or acrobat
推荐答案
什么我发现使用iText如下:
What I found using iText was the following:
* 4 5 6 7
* (x3, y3) ***************** (x4, y4)
* * *
* * *
* * *
* 0 1 * * 2 3
* (x1, y1) ***************** (x2, y2)
使用此订单使我的高光输出具有与Adobe Acrobat中的高光标注工具相同的凸效果。
Using this order made my highlights output with the same convex effect as the highlight annotation tool in Adobe Acrobat.
这篇关于QuadBounds使用itext或pdfbox订购PdfAnnotation标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文