CPDFFileAttachmentAnnotationSetFile Method |
Sets the embedded file attachment for the annotation.
Namespace:
ComPDFKit.PDFAnnotation
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 3.0.0.0 (3.0.0.0)
Syntaxpublic bool SetFile(
string filePath,
string attachName
)
Parameters
- filePath
- Type: SystemString
The path of the file to attach. - attachName
- Type: SystemString
The name of the attachment to display.
Return Value
Type:
BooleanReturns true on success, false on failure.
See Also