PeachDrawing.PDF.PdfComposerPage
PdfComposerPage.AddLink(Rect, string, IReadOnlyList<PaintPoint>) Method
Makes bounds a link to a web address (or any other URI).
public PeachDrawing.PDF.PdfLink AddLink(PeachDrawing.Core.Rect bounds, string uri, System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.PaintPoint>? quad=null);
Parameters
bounds Rect
the clickable area
uri System.String
where it leads
quad System.Collections.Generic.IReadOnlyList<PaintPoint>
the four corners of the clickable shape (top-left, top-right, bottom-left, bottom-right of the rectangle it started as) when it is not bounds itself - a link over a rotated element - or null. PDF has no key for it before version 1.6, so it is left out of an older file.
Returns
PdfLink
the link, to attach to a structure element