Adds a file attachment to the current page.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public void AddAttachment(
	string fileName,
	byte[] data,
	Rect rc
)
Visual Basic
Public Sub AddAttachment ( _
	fileName As String, _
	data As Byte(), _
	rc As Rect _
)

Parameters

fileName
Type: System..::..String
Name of the attachment.
data
Type: array<System..::..Byte>[]()[][]
Data contained in the attachment.
rc
Type: System.Windows..::..Rect
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).

See Also