exatract超链接和检查他们正常工作或不正常的超链接 [英] exatract hyperlinks and check hyperlinks they are working properly or not

查看:88
本文介绍了exatract超链接和检查他们正常工作或不正常的超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在pdf文件中提取超链接,并使用.net c#?

Is this possible to Extract hyperlinks in pdf file and check they are work properly using .net c#?

推荐答案

检查它们是否正常工作2步骤:

1.提取超链接

2.检查它们是否有效/在发送请求时返回有效回复



以下将帮助您了解网址提取,类似的讨论:

查找超链接在PDF文档中? [ ^ ]

获取PDF文件中的超链接列表 [ ^ ]



试用。当您面对任何问题时,请发布具体问题。
2 steps:
1. Extract hyperlinks
2. Check if they are valid / return a valid response when a request is sent to it

Following will help you know about url extraction, similar discussions:
Finding hyperlinks inside a PDF document?[^]
Get the list of hyperlinks in a PDF file[^]

Try out. Post specific issues when you face any.


您好,



关于此主题的文章很好找到here 。此站点上显示的示例使用Java语言完成。但是在.NET中使用PDFSharp或iTextSharp库可以实现同样的目的。



问候,
Hi,

There is nice article on this topic located here. The sample shown on this site is done using Java Language. However same can be achieved using PDFSharp or iTextSharp libraries in .NET.

regards,


看起来你没有得到Prasad在解决方案1中提供的建议。



为了帮助您,让我告诉您确切的参考:



您可以使用iText的.NET端口;这个端口叫做iTextSharp:

http://en.wikipedia.org/wiki/IText [ ^ ],

http://itextpdf.com/ [ ^ ],

http://sourceforge.net/projects/itextsharp/ [ ^ ]。



我也提供了iText的链接,因为几乎所有需要使用iTextSharp的文档都在那里,以Java文档的形式提供。



现在好了?



-SA
It looks like you did not get what Prasad advised in Solution 1.

To help you, let me show you exact references:

You can use the .NET port of iText; this port is called iTextSharp:
http://en.wikipedia.org/wiki/IText[^],
http://itextpdf.com/[^],
http://sourceforge.net/projects/itextsharp/[^].

I provided links to iText, too, because nearly all documentation you need to work with iTextSharp is there, provided as Java documentation.

Better now?

—SA


这篇关于exatract超链接和检查他们正常工作或不正常的超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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