Is possible change the title with Acrobat Pro 9?

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Is possible change the title with Acrobat Pro 9?

    Hi,

    I'm using Acrobat Pro. 9, and i'm programing with C#.
    My question is: Is possible change de title in a pdf?
    I'm using this two metods and nothing the nothing, the title no change.

    ---- 1 form ------
    PdfStamper pdfStamper = null;
    pdfStamper = new PdfStamper(pdfReader, pdfOutputFile);

    System.Collections.Hashtable info = new system.Collections.Hashtable();
    info["«Title»"] = "";
    pdfStamper.MoreInfo = info;

    --- 2 form -------
    Object ObjTitle = pdDoc.GetInfo("Title");
    titulo = Convert.ToString(ObjTitle);
    ObjTitle = "";

    Regards,
    Toni.
    toni.gpd@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. how to change page title once published?
      I would like to change the title of this page (from "techsupport_gis" to something else) without creating a replica of this page and resaving it as...
    2. Re : How to change the Wndow title
      Hi, I have publish my flash document to a projector file, I use fscommand("showmenu", false) to turn off all menu items but how can I change the...
    3. D8.5 / D MX: Change text in title bar
      Hello, does anybody know, if one can change the text in the title bar of an projector window? Tharion
    4. how to change text shown in title bar of the projector?
      Hi there, does anyone know how to change the text that is shown in the title bar of a projector? I have a projector "start.exe" and it shows...
    5. Cannot Change Title Or Meta Tag on Template
      Hi everyone, I have a large site I am creating without frames. Each section of my site has a template. I have also added a site search that...
  3. #2

    Default Is possible change the title with Acrobat Pro 9?

    Hi,

    I'm using Acrobat Pro. 9, and i'm programing with C#.
    My question is: Is possible change de title in a pdf?
    I'm using this two metods and nothing the nothing, the title no change.

    ---- 1 form ------
    PdfStamper pdfStamper = null;
    pdfStamper = new PdfStamper(pdfReader, pdfOutputFile);

    System.Collections.Hashtable info = new system.Collections.Hashtable();
    info["«Title»"] = "";
    pdfStamper.MoreInfo = info;

    --- 2 form -------
    Object ObjTitle = pdDoc.GetInfo("Title");
    titulo = Convert.ToString(ObjTitle);
    ObjTitle = "";

    Regards,
    Toni.
    toni.gpd@adobeforums.com Guest

  4. #3

    Default Re: Is possible change the title with Acrobat Pro 9?

    That code you posted is not from an Adobe SDK - it's from a 3rd party library (iText, I believe). So I don't understand what that has to do with questions about the Acrobat SDK?
    Leonard_Rosenthol@adobeforums.com Guest

  5. #4

    Default Re: Is possible change the title with Acrobat Pro 9?

    Hi Leonard,

    I'm not using a iText librery, i'm using a Adobe librery.
    It's possible than this misplaced the post, sorry.

    Regards,
    Toni.
    toni.gpd@adobeforums.com Guest

  6. #5

    Default Re: Is possible change the title with Acrobat Pro 9?

    It is possible with the Acrobat SDK. You seem to be using iTextSharp, which is not an Adobe product, so you would probably get a faster response on forums that deal with iTextSharp.
    PDL@adobeforums.com Guest

  7. #6

    Default Re: Is possible change the title with Acrobat Pro 9?

    Toni,

    Could you post the code you are using from the Adobe library then? The code you posted above, using PdfStamper, is not part of the Acrobat SDK - it is part of iTextSharp which is not an Adobe product.
    PDL@adobeforums.com Guest

  8. #7

    Default Re: Is possible change the title with Acrobat Pro 9?

    Hi PDL,

    Is possible, but this library in not loaded in my project.
    then... how to make it using Adobe library?

    Regards,
    Toni.
    toni.gpd@adobeforums.com Guest

  9. #8

    Default Re: Is possible change the title with Acrobat Pro 9?

    See the PDDoc.GetInfo and PDDoc.SetInfo methods in the IAC API Reference. They will allow you to get and set individual entries in the info dict.
    PDL@adobeforums.com Guest

  10. #9

    Default Re: Is possible change the title with Acrobat Pro 9?

    Thanks PDL.
    toni.gpd@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139