Rank: Newbie
Groups: Registered
Joined: 6/3/2021(UTC) Posts: 2  Was thanked: 1 time(s) in 1 post(s)
|
We are loading PDF documents with form fields, setting the values on the form fields and successfully saving it with NoIncremental. We are able to merge those documents together successfully at the end often, but when two documents have form fields with the same name, but different values, the values for the form fields on the second document do not show. Is there a way for us to rename a form field in a PDF document so that we can take more control to avoid this scenario? Any assistance or thoughts would be appreciated.
|
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/3/2021(UTC) Posts: 2  Was thanked: 1 time(s) in 1 post(s)
|
I think we have figured it out: Code:foreach (PdfField oField in m_oForms.InterForm.Fields)
{
PdfTypeBase oBaseField = oField.Dictionary["T"];
if (oBaseField is PdfTypeString oStringField)
{
oStringField.AnsiString = oField.FullName + suffix;
}
}
|
 1 user thanked BradDekker for this useful post.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close