Welcome Guest Search | Active Topics | Sign In | Register

How to check a checkbox programmatically? Options
Suthep S.
Posted: Thursday, December 22, 2011 10:48:50 PM
Rank: Newbie
Groups: Member

Joined: 12/22/2011
Posts: 1
According to "Filling in PDF Form Fields" document.

I want to "checked" a checkbox in an existing PDF document,
but don't know the correct value used to check a checkbox.

// I tried 'Yes', 'On', 'True' but not work!
doc.Fields["chk1"].Value = "???";


Please guide me.
eo_support
Posted: Friday, December 23, 2011 7:30:13 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Have you tried "1"?

Thanks!


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.