Click or drag to resize

PdfiumFPDFLink_LoadWebLinks Method

Prepare information about weblinks in a page

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDFLink_LoadWebLinks(
	IntPtr text_page
)

Parameters

text_page  IntPtr
Handle to a text page information structure. Returned by FPDFText_LoadPage(IntPtr) function

Return Value

IntPtr
A handle to the page's links information structure. IntPtr.Zero if something goes wrong
Remarks
Weblinks are those links implicitly embedded in PDF pages. PDF also has a type of annotation called "link", FPDFTEXT doesn't deal with that kind of link. FPDFTEXT weblink feature is useful for automatically detecting links in the page contents. For example, things like "http://www.patagames.com" will be detected, so applications can allow user to click on those characters to activate the link, even the PDF doesn't come with link annotations. FPDFLink_CloseWebLinks(IntPtr) must be called to release resources.
See Also