Actions Provided:
SetPdfFormat: Converts a regular PDF into a PDF/A compliant document based on the provided format (e.g., PDF/A-1A, PDF/A-1B).
Parameters:
asposeLicenseData: The byte array containing the Aspose.Pdf license data.
asposeLicenseData
pdfFile: The byte array of the original PDF to be converted.
pdfFile
format: The desired PDF/A format (e.g., PDF_A_1A, PDF_A_2B) Enum PdfFormat
format
Return: A byte array representing the generated PDF/A compliant document.
AppendingPDFs: Merges two PDFs into a single document.
asposeLicenseData: The Aspose license data to authorize the process.
pdfFile: The byte array of the original PDF document.
mergePdfFile: The byte array of the PDF to be appended.
mergePdfFile
Return: A byte array representing the merged PDF document.
AppendingSeveralPDFs: Merges multiple PDF files into a single PDF document.
attachmentFiles: A list of file paths or byte arrays for additional PDFs to be appended.
attachmentFiles
pageCount: The total number of pages in the final merged PDF.
pageCount
EmbeddedXMLinPDF: Embeds an XML file as an attachment within a PDF document.
filePdf: The byte array of the PDF document to embed the XML in.
filePdf
fileName: The desired output PDF file name.
fileName
attachmentXML: The byte array containing the XML data to be embedded.
attachmentXML
attachmentXMLFilename: The filename for the embedded XML attachment.
attachmentXMLFilename
description: A description for the embedded XML file.
description
pageCount: The total number of pages in the final PDF document.
Return: A byte array representing the PDF document with the embedded XML attachment.
EmbeddedZUGFeRDinPDF: Embeds a ZUGFeRD XML file into a PDF, converting the document into a ZUGFeRD-compliant PDF.
filePdf: The byte array of the original PDF document.
fileName: The name of the output PDF with embedded ZUGFeRD XML.
attachmentXML: The byte array containing the ZUGFeRD XML to be embedded.
attachmentXMLFilename: The filename for the ZUGFeRD XML attachment.
pageCount: The total number of pages in the resulting PDF document.
Return: A byte array representing the PDF document with embedded ZUGFeRD XML.