Namespace: BitMiracle.Docotic.Pdf
public PdfFileSpecification CreateFileAttachment( string filePath )
Public Function CreateFileAttachment ( filePath As String ) As PdfFileSpecification
You can add returned file specifications to collection of document-level attachments (see SharedAttachments) or use it in a file attachment annotation (see AddFileAnnotation(PdfRectangle, PdfFileSpecification)).