PDF注释 [英] PDF Annotation

查看:98
本文介绍了PDF注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是asp.net编程的初学者。我在asp.net用sql做基于web的文档管理系统。我需要
才能让我的用户对pdf文件发表评论。所以我是juz在图像控件中逐个显示页面。我的顶部有导航按钮。现在最重要的是,用户需要在任何所需位置进行文本注释,签名,盖章。我需要一些
的工具才能做到这一点。但它应该是可拖动的和可删除的。我使用Ajax Drag面板来做到这一点。在这个控制内,我juz放置文本框的评论和图像冲压和唱歌。现在的问题是我无法获得拖动的最新位置
Ajax拖动面板,如果我有水平滚动条,它不会移动。再来它去了同一个地方。请建议我,我会以正确的方式?如何实现我的要求。还有其他选择吗???可能与否???

解决方案


据我所知没有直接的工具/实用程序可以对Web上的PDF进行运行时更改。


据我所知,你实际想要实现的是创建一个类似于应用程序的Acrobat编辑器。 web。


我建议你看一下jQuery UI元素,并在页面中提供功能,以便在运行时添加控件。


页面已编辑,您可以将这些控件的位置发送到服务器(在您的情况下为代码隐藏),您可以使用第三方PDF API(如ASPOSE或iTextSharp)来呈现PDF上的控件。


话虽如此,请确保您能够正确获得屏幕分辨率与PDF的比率,因为这将决定您在PDF上的控件放置的准确性。在某些工具中,PDF操作的X-Y轴与屏幕中的X-Y轴相反。所以你
必须创建函数来处理它。


干杯..  


I am a beginner for asp.net programming. i am doing web based document management system in asp.net with sql. i need to allow my user to comment on pdf files. So i am juz displaying pages one by one in an image control. i have navigation buttons on the top. Now the main thing is, user need to do text comments, sign, stamp at any desired location. i need to have some sort of tools to do this. but it should be draggable and deletable. i used Ajax Drag panel to do this. Inside that control i juz placed textbox for comments and imag for stamping and singing. Now the problem is i cant able to get the dragged latest location of the Ajax Drag Panel and its not moving if i have horizontal - scroll bar. again its going to the same location. Please suggest me, am i going in correct way?? how to acheive my requirment. Is there any other option to do this??? is that possible or not???

解决方案

Hi,

As far as I know there are no direct tools / utilities which do such runtime changes to PDF on web.

As far as I can understand, what you are actually trying to achieve is create a Acrobat Editor like application on web.

I would suggest you take a look at jQuery UI elements and provide feature in your page to add the controls at runtime.

Once a page is edited, you can send the positions of these controls to the server (code-behind in your case) where you can use 3rd party PDF APIs like ASPOSE or iTextSharp to render the controls on your PDF.

Having said that, make sure you are able to get a ratio of screen resolution to PDF correctly as that will decide the accuracy of your control placement on PDF. Also the X-Y axis for PDF manipulation in some tools is inverse to that in the screen. So you will have to create functions to take care of that.

Cheers.. 


这篇关于PDF注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆