Making fields read-only in MBS DynaPDF

We generally added our PDF documents using PDF pen pro (From smile on my Mac)

Through version 7 there was a checkbox to make a text field read-only. In version 8 let checkbox has gone away.

Now the documents we are producing, And filling in the text field using the MBS dynaPDF are still beautiful, But the end-user can edit the merged text that we put in the text fields.

Is there a way to set a property programmatically using DynaPDF to lock the text fields down to be read-only?

SetAnnotFlags with flag kafReadOnly could do it.

for fields use SetFieldFlags with kffReadOnly.