PdfPage.AddFileAttachment Method (PdfRectangle, PdfEmbeddedFile)

PDF File Writer

PdfPageAddFileAttachment Method (PdfRectangle, PdfEmbeddedFile)

Add annotation file attachement with no icon

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public PdfAnnotation AddFileAttachment(
	PdfRectangle AnnotRect,
	PdfEmbeddedFile EmbeddedFile
)

Parameters

AnnotRect
Type: PdfFileWriterPdfRectangle
Annotation rectangle
EmbeddedFile
Type: PdfFileWriterPdfEmbeddedFile
Embedded file

Return Value

Type: PdfAnnotation
PdfAnnotation
Remarks
The AnnotRect is any area on the page. When the user right click this area a floating menu will be displayed.
See Also