Table of Contents

Method CreateFileLink

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

Parameters

rect PdfRectangle
fileName string

Returns

PdfLinkAnnotation

Creates a link to a file.

public static PdfLinkAnnotation CreateFileLink(PdfPage page, PdfRectangle rect, string fileName)

Parameters

page PdfPage

The page the annotation belong to.

rect PdfRectangle

The rectangle using World coordinates.

fileName string

The destination file.

Returns

PdfLinkAnnotation