Hello,
I am using MergeDocument to add various FormElements to an existing PDF and am having difficulty copying values from a TextField after the final version of the PDF is generated/saved.
Ultimately I want to be able to set the PDF in read-only mode so that changes cannot be made to the TextField values after the PDF is generated, but this seems to prevent the user from selecting and copying the populated values when viewing the PDF in Acrobat or their browser.
I have been trying a combination of the properties below, but none of them seem to provide the functionality that I am looking for. I have tried just setting pdf.Form.IsReadOnly without the Security added, but that still does not allow the user to select/copy a TextField value.
pdf.Form.IsReadOnly = true;
pdf.Security = new RC4128Security("")
{
AllowFormFilling = false,
AllowUpdateAnnotsAndFields = false,
AllowEdit = false
};