ComponentOne PDF for WPF and Silverlight
AddTarget(String,Rect) Method

C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace > C1PdfDocument Class > AddTarget Method : AddTarget(String,Rect) Method
Name of the target (used in the AddLink method).
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 current page.
Syntax
'Declaration
 
Public Overloads Sub AddTarget( _
   ByVal name As String, _
   ByVal rc As Rect _
) 
public void AddTarget( 
   string name,
   Rect rc
)

Parameters

name
Name of the target (used in the AddLink method).
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