Pdf |
Add a new PdfFileSpecification with the specified name and an empty EmbeddedFile.
Use the OpenWrite(Boolean) method of the EmbeddedFile of a returned PdfFileSpecification to fill the empty EmbeddedFile.
public KeyValuePair<PdfString, PdfFileSpecification> AddEmpty( string fileSpecificationName )
Exception | Condition |
---|---|
ArgumentNullException | fileSpecificationName is or Empty. |
ArgumentException | A PdfFileSpecification with the same key already exists in the PdfEmbeddedFileSpecificationTree. |