As I am not sure I am doing this correctly I am posting my observations to see what thoughts you might have.
Been working with PdfCreateFromMultipageTIFF.
Specifically with the the Title, Author, Subject, Keywords.
Code: Select all
GdStatus = oGdPictureImaging.PdfCreateFromMultipageTIFF(MasterImageID, _
UncPath & ".pdf", _
True, _
indexes.Standard_Title, _
indexes.Standard_Person, _
indexes.Standard_UserType, _
pdfKeywords, _
My.Application.Info.Title)
I looks to me that if the Title, Author, or Subject contains a comma then the resulting PDF property will be enclosed in quotes. If there is no comma, the resulting PDF Property will not be in quotes.
(Not saying that is right or wrong, just an observation)
(2)
I wanted to enter multi Line keywords, I found (by looking at a PDF created with acrobat) that 
 are used for CR/LF in the PDF Keyword field. So I do the following replace on the string read from a text file.
Code: Select all
pdfKeywords = pdfKeywords.Replace(Chr(13), "
")
pdfKeywords = pdfKeywords.Replace(Chr(10), "
")
However the resulting PDF keywork property is duplicated. (see image)
(3)
I have also found that while the above codes do work, as with observation 1 regarding a comma, if the title, author, or subject contain an ampersand, then it messes up the implementation of the 
 and 
 codes. In the PDF keyword property field, they are displayed as text.