You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been looking around the documentation, but cant find anything relative to this, so i will ask:
There is a method or function to save a new Name for a listed Annotation?
That Textbox has this Name: Given Name Text Box and i need a way to change that name to whatever i need, like Test1.
`pdf = pdfrw.PdfReader(file_path)
for page in pdf.pages:
annotations = page['/Annots']
if annotations is None:
continue
for annotation in annotations:
if annotation['/Subtype']=='/Widget':
if annotation['/T']:
key = annotation['/T'].to_unicode()
print (key)
`
With that code ive got all the Names, but i miss something to update that Names with pdfrw.
Is this possible or im asking something can be done with this library?
Activity