public final class Attachment_Api extends Object
Constructor and Description |
---|
Attachment_Api() |
Modifier and Type | Method and Description |
---|---|
static void |
addPdfAttachment(InternalPdfDocument internalPdfDocument,
String name,
byte[] attachmentBytes)
Add a new attachment
|
static List<String> |
getPdfAttachmentCollection(InternalPdfDocument internalPdfDocument)
Gets collection of attachments contained within a pdf document
|
static byte[] |
getPdfAttachmentData(InternalPdfDocument internalPdfDocument,
String name)
Gets attachment data from attachment name
|
static void |
removePdfAttachment(InternalPdfDocument internalPdfDocument,
String name)
Remove attachment by attachment name
|
public static List<String> getPdfAttachmentCollection(InternalPdfDocument internalPdfDocument)
internalPdfDocument
- the internal pdf documentpublic static byte[] getPdfAttachmentData(InternalPdfDocument internalPdfDocument, String name)
internalPdfDocument
- the internal pdf documentname
- Attachment namepublic static void addPdfAttachment(InternalPdfDocument internalPdfDocument, String name, byte[] attachmentBytes)
internalPdfDocument
- the internal pdf documentname
- Attachment nameattachmentBytes
- Attachment datapublic static void removePdfAttachment(InternalPdfDocument internalPdfDocument, String name)
internalPdfDocument
- the internal pdf documentname
- Attachment nameCopyright © 2022–2023 Iron Software. All rights reserved.