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

C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace > C1PdfDocument Class > AddAttachment Method : AddAttachment(String,Rect) Method
Name of the file that will be included as an attachment.
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).
Adds a file attachment to the current page.
Syntax
'Declaration
 
Public Overloads Sub AddAttachment( _
   ByVal fileName As String, _
   ByVal rc As Rect _
) 
public void AddAttachment( 
   string fileName,
   Rect rc
)

Parameters

fileName
Name of the file that will be included as an attachment.
rc
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List