PdfAttachmentAnnotation Constructor (RectangleF, String,
Byte
)
|
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,
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
-
Type:
System.Drawing
RectangleF
Bounds of the annotation.
-
fileName
-
Type:
System
String
A string value specifying the full path to the file to be embedded in the PDF file.
-
data
-
Type:
System
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.
See Also