ComponentOne PDF for .NET
AddTarget(String,Int32,RectangleF) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > AddTarget Method : AddTarget(String,Int32,RectangleF) Method
Name of the target (used in the AddLink method).
Index of the page that will contain the hyperlink target.
Area on the page that will behave as a target (in points from the top-left corner of the page).
Adds a hyperlink target to the document.
Syntax
'Declaration
 
Public Overloads Sub AddTarget( _
   ByVal name As System.String, _
   ByVal page As System.Integer, _
   ByVal rc As System.Drawing.RectangleF _
) 
public void AddTarget( 
   System.string name,
   System.int page,
   System.Drawing.RectangleF rc
)

Parameters

name
Name of the target (used in the AddLink method).
page
Index of the page that will contain the hyperlink target.
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

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List
AddLink(String,RectangleF) Method