Click or drag to resize
Pdf Library for .NET

PdfFileAttachmentElement(Stream, String) Constructor

Creates a file attachment from a stream without a link in the pdf page to the attachment. The file is attached at the document level only.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfFileAttachmentElement(
	Stream stream,
	string attachmentName
)

Parameters

stream  Stream
The file stream.
attachmentName  String
The name of the attachment as it should appear inside the PDF.
See Also