Click or drag to resize

DocumentAddAssociatedFile(Stream, String, AttachmentRelationship, String, String) Method

Embeds the content of a stream into the PDF document as an associated file.

Namespace: ExpertPdf.PdfCreator
Assembly: epdfcreator (in epdfcreator.dll) Version: 22.0.0
Syntax
public void AddAssociatedFile(
	Stream stream,
	string fileName,
	AttachmentRelationship relationship,
	string mimeType,
	string description
)

Parameters

stream  Stream
The stream whose content is embedded.
fileName  String
The file name recorded for the embedded file.
relationship  AttachmentRelationship
The relationship between the embedded file and the document content.
mimeType  String
The MIME type of the embedded file (for example "text/xml"). Can be null.
description  String
An optional human-readable description of the embedded file. Can be null.
Remarks
Associated files are what PDF/A-3 allows to embed.
See Also