PeachDrawing.PDF.PdfTagRecorder

PdfTagRecorder.LinkAnnotation Method

Overloads  
LinkAnnotation(object, PdfLink) Ties a link to the structure element of the content it covers, so a reader can reach one from the other (PDF/UA): the element gets a reference to the link in its content, and the link points back at the element. Call it after Finish(), once per link. Does nothing if the key never opened a Link element (tagging was suppressed for it).
LinkAnnotation(object, PdfLink, string, object) Ties a link to the structure element of the content it covers, and gives the link annotation contents as its /Contents: the description a reader announces for the link (PDF/UA requires one on every link).

Ties a link to the structure element of the content it covers, so a reader can reach one from the other (PDF/UA): the element gets a reference to the link in its content, and the link points back at the element. Call it after Finish(), once per link. Does nothing if the key never opened a Link element (tagging was suppressed for it).

public void LinkAnnotation(object key, PeachDrawing.PDF.PdfLink link);

Parameters

key System.Object

the key of the link’s structure element

link PdfLink

the link, as returned when it was added to its page

Ties a link to the structure element of the content it covers, and gives the link annotation contents as its /Contents: the description a reader announces for the link (PDF/UA requires one on every link).

public void LinkAnnotation(object key, PeachDrawing.PDF.PdfLink link, string? contents, object? target);

Parameters

key System.Object

the identity of the structure element the link covers

link PdfLink

the link

contents System.String

the link’s accessible name, or null for none

target System.Object

the key of the structure element a link within the document leads to, or null; in a PDF 2.0 file the link then also leads to that element