Skip to content

How to change a PDF's title? #1006

Closed Answered by jon-m-craig
jon-m-craig asked this question in Q&A
Discussion options

You must be logged in to vote

AHA! I figured it out. Even though the InfoDictionary is empty in the Reader, creating a Stamper from the Reader moves the original XMP data into the corresponding keys in the InfoDictionary in the Stamper. So setting the InfoDictionary in the Stamper... does finally work. Apparently that overrides the XMP data in viewers. VERY CONFUSING.

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
2 replies
@jon-m-craig
Comment options

@jon-m-craig
Comment options

Comment options

You must be logged in to vote
5 replies
@jon-m-craig
Comment options

@Lonzak
Comment options

@jon-m-craig
Comment options

@jon-m-craig
Comment options

@Lonzak
Comment options

Comment options

You must be logged in to vote
5 replies
@jon-m-craig
Comment options

@jon-m-craig
Comment options

@Lonzak
Comment options

@jon-m-craig
Comment options

@jon-m-craig
Comment options

Comment options

You must be logged in to vote
1 reply
@jon-m-craig
Comment options

Answer selected by asturio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants