I am using multiple Pages PDF (XFA Document created by Adobe Live Cycle Designer) and when I tried to set the Read Only Privilege for one of the field, always it is returning “False”. What could be the reason? Here I am sending my code.
bool b = false;
FormEditor frmEditor = new FormEditor(sourcePath, destinationPath);
b = frmEditor.SetFieldAttribute("subjectID", FieldFlag.READ_ONLY);
if (b == true) {
frmEditor.Save();
} else {
Response.Write("Failed");
}