Click or drag to resize

PdfAttachmentAnnotation Constructor (RectangleF, String, Stream)

Initializes a new instance of theclass.

Namespace: Spire.Pdf.Annotations
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfAttachmentAnnotation(
	RectangleF rectangle,
	string fileName,
	Stream stream
)

Parameters

rectangle
Type: System.Drawing RectangleF
The rectangle.
fileName
Type: System String
A string value specifying the full path to the file to be embedded in the PDF file.
stream
Type: System.IO Stream
The stream specifying the content of the annotation's embedded file.
Remarks
If both FileName and FileContent are specified, the FileContent takes precedence.
See Also