PdfAttachment class
Represents the attachments of the PDF document.
Constructors
-
PdfAttachment(String fileName, List<
int> data, {String? description, String? mimeType}) - Initializes a new instance of the PdfAttachment class with specified file name and byte data to be attached.
- PdfAttachment.fromBase64String(String fileName, String base64String, {String? description, String? mimeType})
- Initializes a new instance of the PdfAttachment class with specified file name and byte data as base64 String to be attached.
Properties
- creationDate ↔ DateTime
-
Gets creation date.
getter/setter pair
-
data
↔ List<
int> -
Gets the data.
getter/setter pair
- description ↔ String
-
Gets the description.
getter/setter pair
- fileName ↔ String
-
Gets the file name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType ↔ String
-
Gets the MIME type of the embedded file.
getter/setter pair
- modificationDate ↔ DateTime
-
Gets modification date.
getter/setter pair
- relationship ↔ PdfAttachmentRelationship
-
Get the file relationship.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited