Set the Keywords value in 2 lines

  • Hi,

    I try to set the value of the Keywords using:
    WPViewPDF1.Plus.InfoSetKeywords(Keywords);
    (Delphi 7).

    This works well when I use only 1 line text, but when I try to fill in 2 lines, with:
    WPViewPDF1.Plus.InfoSetKeywords('line 1'#13'line 2');
    then the result in the Keywords is (next 3 lines):
    "line 1
    line 2"; "Line 1
    line 2"

    The added quotes are no problem, but duplicating the text is not allowed.

    Is this a bug, or can I do it on another way so that it works like I expect?

    Grtz Evert-Jan

  • Hi,

    Thank you for your reply.

    When I use

    keyword1, keyword 2, keyword 3

    as parameter:

    WPViewPDF1.Plus.InfoSetKeywords('keyword1, keyword 2, keyword 3');

    then the result (in the Document properties window in Acrobat Reader 9) is:

    "keyword1, keyword 2, keyword 3"; keyword1; keyword 2; keyword 3

    Still the input is duplicated / copied in the result.

    How can I get the only result of :
    keyword1; keyword 2; keyword 3
    ?

    Grtz Evert-Jan