Adds an attachment with the given name 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
)
Visual Basic
Public Sub AddFileAttachment ( 
	fileStream As Stream,
	attachmentName As String
)
Visual C++
public:
void AddFileAttachment(
	Stream^ fileStream, 
	String^ attachmentName
)

Parameters

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

See Also