Namespace: iTextSharp.text.pdf
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public static PdfAnnotation CreateFileAttachment(
	PdfWriter writer,
	Rectangle rect,
	string contents,
	byte[] fileStore,
	string file,
	string fileDisplay
)
Visual Basic
Public Shared Function CreateFileAttachment ( _
	writer As PdfWriter, _
	rect As Rectangle, _
	contents As String, _
	fileStore As Byte(), _
	file As String, _
	fileDisplay As String _
) As PdfAnnotation
Visual C++
public:
static PdfAnnotation^ CreateFileAttachment(
	PdfWriter^ writer, 
	Rectangle^ rect, 
	String^ contents, 
	array<unsigned char>^ fileStore, 
	String^ file, 
	String^ fileDisplay
)

Parameters

writer
Type: iTextSharp.text.pdf..::..PdfWriter
rect
Type: iTextSharp.text..::..Rectangle
contents
Type: System..::..String
fileStore
Type: array<System..::..Byte>[]()[][]
file
Type: System..::..String
fileDisplay
Type: System..::..String

See Also