PdfWebLink.AddWebLink Method

PDF File Writer

PdfWebLinkAddWebLink Method

Add a weblink

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public static PdfWebLink AddWebLink(
	PdfDocument Document,
	string WebLinkStr
)

Parameters

Document
Type: PdfFileWriterPdfDocument
PDF document
WebLinkStr
Type: SystemString
Weblink text

Return Value

Type: PdfWebLink
Weblink object
Remarks

The library will make sure that all weblinks in the PDF file are unique. To create a weblink class you must use a static menthod. This method will create a new object for a new weblink. The mothod will return an existing object if it is a duplicate.

See Also