Hi,

If this is really a PDCheckBox then call check() or uncheck(). I can't see the image, maybe this was an attachment.

Tilman

Am 17.08.2022 um 08:26 schrieb Damaji Kalunge:
Hi Team,

  In the editable PDF we have a checkbox as shown below.
image.png

*Indeterminate / Intersex / Unspecified []*
*
*
   We are able to check the above checkbox using below code and only with value "*unspecified" .
* Then only the checkbox is ticked in the filled PDF.
COSDictionary cosDictionary3=pDAcroForm.getField("ap.sex").getCOSObject(); cosDictionary3.setString(COSName.V ,"unspecified");
**
  We have requirement to set the checkbox value *Indeterminate or **Intersex * then by with value  "i*ndeterminate"  or "i**ntersex *" does not ticked the checkbox in the filled PDF.

 I am afraid if we set  the last value to PDF Checkbox then downstream processing may have an impact which is not in our control to fix or analyze.

Could you please help out in this scenario ?

Thanks
Damaji.

*
*

Reply via email to