Adds an attachment with the given name and a given description from a stream to this PDF document

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public void AddFileAttachment(
	Stream fileStream,
	string attachmentName,
	string descr
)
Visual Basic
Public Sub AddFileAttachment ( 
	fileStream As Stream,
	attachmentName As String,
	descr As String
)
Visual C++
public:
void AddFileAttachment(
	Stream^ fileStream, 
	String^ attachmentName, 
	String^ descr
)

Parameters

fileStream
Type: System.IO..::..Stream
The file stream
attachmentName
Type: System..::..String
A name for attachment
descr
Type: System..::..String
The attachment description

See Also