Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The Aspose.Pdf.LowCode.Ofd plugin converts OFD documents to PDF. Configure the operation with OfdToPdfOptions, add an OFD input data source and a PDF output data source, and call Process.
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void ConvertOfdToPdfWithPlugin()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdf_DocumentConversion();
// Create PDF Ofd plugin
var plugin = new Aspose.Pdf.LowCode.Ofd();
// Add input and output files
var options = new Aspose.Pdf.LowCode.OfdToPdfOptions();
options.AddInput(new Aspose.Pdf.LowCode.FileDataSource(dataDir + "ConvertOFDToPDF.ofd"));
options.AddOutput(new Aspose.Pdf.LowCode.FileDataSource(dataDir + "ConvertOfdToPdfWithPlugin_out.pdf"));
// Convert the file
var result = plugin.Process(options);
// Get the path of the saved PDF document
var outputPath = result.ResultCollection[0].ToFile();
}
Process returns one PDF result for each converted OFD input.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.