Table of Contents

Method CreateWebLink

Namespace
PdfSharp.Pdf.Annotations
Assembly
PdfSharp.dll
[Obsolete("PDFsharp 6.4: Parameter requires a PDF page as first parameter.")]
public static PdfLinkAnnotation CreateWebLink(PdfRectangle rect, string url)

Parameters

rect PdfRectangle
url string

Returns

PdfLinkAnnotation

Creates a link to the web.

public static PdfLinkAnnotation CreateWebLink(PdfPage page, PdfRectangle rect, string url)

Parameters

page PdfPage

The page the annotation belong to.

rect PdfRectangle

The rectangle using World coordinates.

url string

The destination URL.

Returns

PdfLinkAnnotation