Hi,
We are not able to merge filled acro-form using PdfClown! Does PDFClown support merging of filled acro-forms ? We are using 0.2.0.0 version and seems not working. Request you to kindly assist on this issue.
Following is my code
public void MergeAcroForm()
{
var lstFile = new DirectoryInfo(Server.MapPath("~/Content")).GetFiles("*.pdf", SearchOption.TopDirectoryOnly);
string strTarget = Server.MapPath("~/Content/laks.pdf");
org.pdfclown.files.File outputFile = new org.pdfclown.files.File();
foreach (var boFile in lstFile)
{
using (org.pdfclown.files.File formFile = new org.pdfclown.files.File(boFile.FullName))
{
for (int intIndex = 0; intIndex < formFile.Document.Pages.Count; intIndex++)
{
org.pdfclown.documents.contents.xObjects.XObject xform = formFile.Document.Pages[intIndex].ToXObject(outputFile.Document);
org.pdfclown.documents.Page page = new org.pdfclown.documents.Page(outputFile.Document);
outputFile.Document.Pages.Add(page);
org.pdfclown.documents.contents.composition.PrimitiveComposer composer = new org.pdfclown.documents.contents.composition.PrimitiveComposer(page);
composer.ShowXObject(xform);
composer.Fill();
composer.Flush();
}
}
}
outputFile.Save(strTarget, org.pdfclown.files.SerializationModeEnum.Standard);
}
Regards,
Lakshmikanth
Problem: It is merging the PDF Acro Forms without filled content from the original PDF Acro Forms Source.
Hi,
Is there "NO SOLUTION" for this issue ? Is it a pdfclown limitation ?
Regards,
Lakshmikanth .M