PdfFileSpecificationAddRelatedFile Method |
Namespace: SautinSoft.PdfAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.10.22
Syntaxpublic PdfEmbeddedFile AddRelatedFile(
PdfString key
)
Public Function AddRelatedFile (
key As PdfString
) As PdfEmbeddedFile
Parameters
- key PdfString
- The name of one of the related file.
Return Value
PdfEmbeddedFile
The related file added to the file specification's
RelatedFiles.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | key is . |
| InvalidOperationException | The EmbeddedFile is . |
See Also