Adds a file attachment to the current page.
Syntax
'Declaration
Public Overloads Sub AddAttachment( _
ByVal As System.String, _
ByVal As System.Drawing.RectangleF, _
ByVal As AttachmentIconEnum, _
ByVal As System.Drawing.Color _
)
public void AddAttachment(
System.string ,
System.Drawing.RectangleF ,
AttachmentIconEnum ,
System.Drawing.Color
)
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).
- icon
- AttachmentIconEnum value that determines the appearance of the attachment icon.
- iconColor
- System.Drawing.Color of the attachment icon.
See Also