HiQPdf Documentation

PdfDocumentCreateAttachmentFromStream Method (Stream, String, String)

Quickly Create High Quality PDFs
Creates an attachment in PDF document from the given stream. The stream must remain opened until the document is saved

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 14.0.0.0
Syntax

public void CreateAttachmentFromStream(
	Stream stream,
	string name,
	string description
)

Parameters

stream
Type: System.IOStream
The stream to embed in PDF
name
Type: SystemString
The name of the attachment
description
Type: SystemString
Descriptive text associated with the attachment
See Also

Reference