ant = page:CreateURILinkAnnot(rect, uri)
page:CreateURILinkAnnot()
creates a new web link annotation object for the page.
The rect
parameter must be a table which contains left
, top
, right
, and bottom
fields that describe
a rectangle.
#HPDF_INVALID_PAGE
- An invalid page handle was set.
#HPDF_FAILED_TO_ALLOC_MEM
- Memory allocation failed.