How do I make a check box print checked?

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
calvin
Posts: 9
Joined: Fri Apr 02 2004

How do I make a check box print checked?

Post by calvin »

If openmb is a checkbox neither of the following two commands prints it as checked:
PDFviewer.ObjectAttributeStr("openmb", "Text", "Yes")
PDFviewer.ObjectAttributeStr("openmb", "Text", "On")

I have to use objectattributestr because I am using VFP. :(
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hello,

The code snippet below should help.


PDFviewer.ObjectAttributeStr("openmb", "Text", "1")

0 = off
1 = selected

Thanks
Post Reply