Click or drag to resize

PdfFileAttachmentAnnotationSetFile Method

Sets the file associated with this annotation.

Namespace: SautinSoft.Pdf.Annotations
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.4.2
Syntax
public PdfFileSpecification SetFile(
	string fileSpecificationName
)

Parameters

fileSpecificationName  String
The name of the file associated with this annotation.

Return Value

PdfFileSpecification
A newly created PdfFileSpecification with the specified name associated with this annotation.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileSpecificationName is or Empty.
See Also