Initializes a new instance of the PdfAttachmentAnnotation class
Namespace: Spire.Pdf.AnnotationsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public PdfAttachmentAnnotation( RectangleF rectangle, string fileName, Stream stream )
Public Sub New ( rectangle As RectangleF, fileName As String, stream As Stream )
public: PdfAttachmentAnnotation( RectangleF rectangle, String^ fileName, Stream^ stream )
new : rectangle : RectangleF * fileName : string * stream : Stream -> PdfAttachmentAnnotation
Parameters
- rectangle
- RectangleF
The rectangle.
- fileName
- String
A string value specifying the full path to the file to be embedded in the PDF file.
- stream
- Stream
The stream specifying the content of the annotation's embedded file.
Remarks
If both FileName and FileContent are specified, the FileContent takes precedence.