[]
        
(Showing Draft Content)

C1.C1Pdf.C1PdfDocument.AddTarget

AddTarget Method

AddTarget(string, RectangleF)

Adds a hyperlink target to the current page.

Declaration
public void AddTarget(string name, RectangleF rc)
Parameters
Type Name Description
string name

Name of the target (used in the AddLink method).

RectangleF rc

Area on the page that will behave as a target (in points from the top-left corner of the page).

Remarks

This method is used to add targets for local hyperlinks. See the AddLink method for details and an example.

See Also

AddTarget(string, int, RectangleF)

Adds a hyperlink target to the document.

Declaration
public void AddTarget(string name, int page, RectangleF rc)
Parameters
Type Name Description
string name

Name of the target (used in the AddLink method).

int page

Index of the page that will contain the hyperlink target.

RectangleF rc

Area on the page that will behave as a target (in points from the top-left corner of the page).

Remarks

This method is used to add targets for local hyperlinks. See the AddLink method for details and an example.

See Also