Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The Aspose.Pdf.LowCode.PdfAConverter plugin converts PDF documents to PDF/A and validates PDF/A compliance. Use PdfAConvertOptions for conversion and PdfAValidateOptions for validation.
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void ConvertPdfToPdfAWithPlugin()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();
// Create PDF/A converter plugin
var plugin = new Aspose.Pdf.LowCode.PdfAConverter();
// Configure PDF/A conversion options
var options = new Aspose.Pdf.LowCode.PdfAConvertOptions
{
PdfAVersion = Aspose.Pdf.LowCode.PdfAStandardVersion.PDF_A_1B
};
options.AddInput(new Aspose.Pdf.LowCode.FileDataSource(dataDir + "PDFToPDFA.pdf"));
options.AddOutput(new Aspose.Pdf.LowCode.FileDataSource(dataDir + "ConvertPdfToPdfA_out.pdf"));
// Convert the file
var result = plugin.Process(options);
// Get the path of the saved PDF/A document
var outputPath = result.ResultCollection[0].ToFile();
}
PdfAValidateOptions returns a PdfAValidationResult object in the result collection. Read its public properties to check whether the input document matches the requested PDF/A standard.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.