PdfDocumentCreateAttachmentFromStream(Stream, String) Method

Creates an attachment in PDF document from the given stream. The stream must remain opened until the document is saved

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public void CreateAttachmentFromStream(
	Stream stream,
	string name
)

Parameters

stream  Stream
The stream to embed in PDF
name  String
The name of the attachment

See Also