Change Export-Value of PDFAcroCheckBox #1677
Unanswered
Mystificious
asked this question in
Q&A
Replies: 1 comment
-
If anybody is interested, I solved it by the following code... Still seems pretty tacky for me, but works. It's important, that the widgets are only changed after adding the checkbox to the page.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
I have the need to adjust the export-value of a checkbox created with pdf-lib.
The default of "Yes" is not appropriate for my project.
I found the possibility of getOnValue that gives me value back.
But I couldn't find any setter-function in the PDFCheckBox, PDFAcroCheckBox, PDFAcroButton or PDFAcroTerminal classes.
How do I accomplish such a task while creating the object?
Best,
Arthur from Berlin
Beta Was this translation helpful? Give feedback.
All reactions