 | PdfiumFPDFLink_LoadWebLinks Method |
Prepare information about weblinks in a page
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDFLink_LoadWebLinks(
IntPtr text_page
)
Public Shared Function FPDFLink_LoadWebLinks (
text_page As IntPtr
) As IntPtr
public:
static IntPtr FPDFLink_LoadWebLinks(
IntPtr text_page
)
static member FPDFLink_LoadWebLinks :
text_page : IntPtr -> IntPtr
public static IntPtr FPDFLink_LoadWebLinks(
IntPtr text_page
)
Patagames.Pdf.Pdfium.FPDFLink_LoadWebLinks = function(text_page);
Parameters
- text_page IntPtr
- Handle to a text page information structure. Returned by FPDFText_LoadPage(IntPtr) function
Return Value
IntPtrA 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