Participating Frequently
January 10, 2023
Answered
Universal change to Text Box Text properties?
- January 10, 2023
- 1 reply
- 2696 views
OK, then you can do it using this code:
this.syncAnnotScan();
var annots = this.getAnnots();
if (annots!=null) {
for (var i in annots) {
var annot = annots[i];
if (annot.type=="FreeText") {
var annotContents = annot.richContents;
for (var j in annotContents) annotContents[j].textSize = 20;
annot.richContents = annotContents;
}
}
}
You can run it from the JS Console (for details, see: https://acrobatusers.com/tutorials/javascript_console), or even from an Action or a Custom Command, if you have Acrobat Pro.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.