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