Pdf |
Adds a new PdfFileSpecification with the specified relationship and an empty EmbeddedFile.
Use the OpenWrite(Boolean) method of the EmbeddedFile of a returned PdfFileSpecification to fill the empty EmbeddedFile.
public PdfFileSpecification AddEmpty( PdfAssociatedFileRelationshipType associatedRelationshipType, string fileSpecificationName, string mediaType = null, PdfEmbeddedFileSpecificationTree embeddedFiles = null )
Exception | Condition |
---|---|
ArgumentNullException | fileSpecificationName is or Empty. |