-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Description
Hi!
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?
thanks to anyone spare some time to answer this!
Metadata
Metadata
Assignees
Labels
No labels