PdfDocumentCreateAttachmentFromStream(Stream, 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
)
Public Sub CreateAttachmentFromStream (
stream As Stream,
name As String
)
public:
void CreateAttachmentFromStream(
Stream^ stream,
String^ name
)
member CreateAttachmentFromStream :
stream : Stream *
name : string -> unit
Parameters
- stream Stream
- The stream to embed in PDF
- name String
- The name of the attachment