Method CreateWebLink
- Namespace
- PdfSharp.Pdf.Annotations
- Assembly
- PdfSharp.dll
CreateWebLink(PdfRectangle, string)
[Obsolete("PDFsharp 6.4: Parameter requires a PDF page as first parameter.")]
public static PdfLinkAnnotation CreateWebLink(PdfRectangle rect, string url)
Parameters
rectPdfRectangleurlstring
Returns
CreateWebLink(PdfPage, PdfRectangle, string)
Creates a link to the web.
public static PdfLinkAnnotation CreateWebLink(PdfPage page, PdfRectangle rect, string url)
Parameters
pagePdfPageThe page the annotation belong to.
rectPdfRectangleThe rectangle using World coordinates.
urlstringThe destination URL.