向PDF Android添加注释



我想在android中显示pdf,因为我有一些库,例如vudroid,pdfreader,但所有这些库将pdf页显示为图像,我想实现这样的功能,用户可以用户可以查看pdf和pdf和pdf和从PDF选择文本的文本使用颜色选择器的文本背景颜色并保存现有的PDF,我提到了一些库,但它们没有提供此类功能,请给出一些想法,如果此类库可用

我已经使用了以下库

Android PDF Viewer
APDFViewer
droidreader

谢谢

免责声明:我是PSPDFKIT团队的开发人员

for Android的PSPDFKIT最近以2.0版本发布,包括注释编辑支持。我们花了很多时间使注释编辑变得容易 - 对于最终用户,将PDF集成在其应用程序中。这是如何使用pspdfkit创建noteannotation的示例:

PSPDFDocument document =  ...
// Create the annotation.
final int pageNum = 3;
final RectF pagePosition = new RectF(10, 10, 30, 30);
final NoteAnnotation annotation = new NoteAnnotation(pageNum, pagePosition, "This is a note with cross icon!", CROSS);
// Attach the annotation to the document.
document.getAnnotationProvider().addAnnotationToPage(annotation);

还有一堆可用的UI组件,用于创建注释和编辑。PSPDFKIT是一种商业产品,但我们提供可以在我们的网站上要求的演示版本。

最新更新