ComponentOne PDF for .NET
AddAttachment(String,RectangleF) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > AddAttachment Method : AddAttachment(String,RectangleF) Method
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 file As System.String, _
   ByVal rc As System.Drawing.RectangleF _
) 
public void AddAttachment( 
   System.string file,
   System.Drawing.RectangleF rc
)

Parameters

file
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