简体   繁体   English

在用户机器中打开时如何更改PDF中的时间字段?

[英]How to change time field in PDF while opening in user's machine?

I need to send a PDF file via email attachment in Outlook. 我需要在Outlook中通过电子邮件附件发送PDF文件。 There is field in PDF related to local time and the requirement is when PDF is open in user's system then time will show according to user's time zone. PDF中存在与本地时间相关的字段,要求是在用户系统中打开PDF时,时间将根据用户的时区显示。 I created PDF using iText Sharp in C#. 我在C#中使用iText Sharp创建了PDF。

You cannot change data in a PDF when the user loads the document. 用户加载文档时,您无法更改PDF中的数据。

You could instead put a URL link in your email, then when the link is clicked the response is to create the PDF with the correct date. 您可以在电子邮件中放置一个URL链接,然后单击该链接时,响应将创建具有正确日期的PDF。 Don't know if that is possible within your system. 不知道在您的系统中是否可行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM