Table of Contents

Method AddFileAnnotation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddFileAnnotation(PdfRectangle, PdfFileSpecification)

Adds the new file attachment annotation to the PdfPage.

public PdfFileAttachmentAnnotation AddFileAnnotation(PdfRectangle bounds, PdfFileSpecification fileSpec)

Parameters

bounds PdfRectangle

The bounds of the file attachment annotation.

fileSpec PdfFileSpecification

The file specification of a file attachment to use in the annotation.

Returns

PdfFileAttachmentAnnotation

The newly created PdfFileAttachmentAnnotation object.

Remarks

Check the Merge as attachment section to know how to create PDF attachments.