Table of Contents

Method AddFile

Namespace
PdfSharp.Pdf.Attachments
Assembly
PdfSharp.dll

AddFile(EmbeddedFileInfo, bool)

Embeds the specified file in the PDF document.

public void AddFile(EmbeddedFileInfo fileInfo, bool compressStream = true)

Parameters

fileInfo EmbeddedFileInfo
compressStream bool