Namespace: BitMiracle.Docotic.Pdf
public PdfFileSpecification CreateFileAttachment( Stream stream, string specification, string description )
Public Function CreateFileAttachment ( stream As Stream, specification As String, description 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)).
The file specification string specified by the specification parameter can not be null. Usually it is the name of a file specification. See Specification for more detail.