PdfDocumentCreateAttachmentFromStream(Stream, String, String) Method
Creates an attachment in PDF document from the given stream. The stream must remain opened until
the document is saved
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
public void CreateAttachmentFromStream(
Stream stream,
string name,
string description
)
Public Sub CreateAttachmentFromStream (
stream As Stream,
name As String,
description As String
)
public:
void CreateAttachmentFromStream(
Stream^ stream,
String^ name,
String^ description
)
member CreateAttachmentFromStream :
stream : Stream *
name : string *
description : string -> unit
Parameters
- stream Stream
- The stream to embed in PDF
- name String
- The name of the attachment
- description String
- Descriptive text associated with the attachment