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, byte[] data )
Public Sub New ( rectangle As RectangleF, fileName As String, data As Byte() )
public: PdfAttachmentAnnotation( RectangleF rectangle, String^ fileName, array<unsigned char>^ data )
new : rectangle : RectangleF * fileName : string * data : byte[] -> PdfAttachmentAnnotation
Parameters
- rectangle
- RectangleF
Bounds of the annotation.
- fileName
- String
A string value specifying the full path to the file to be embedded in the PDF file.
- data
- array<Byte>[]()[][]
A byte array specifying the content of the annotation's embedded file.
Remarks
If both FileName and FileContent are specified, the FileContent takes precedence.