Adds a hyperlink target to the document.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void AddTarget( string name, int page, Rect rc ) |
Visual Basic |
---|
Public Sub AddTarget ( _ name As String, _ page As Integer, _ rc As Rect _ ) |
Parameters
- name
- Type: System..::..String
Name of the target (used in the AddLink(String, Rect) method).
- page
- Type: System..::..Int32
Index of the page that will contain the hyperlink target.
- rc
- Type: System.Windows..::..Rect
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(String, Rect) method for details and an example.