Graphics labeled as figures error message in batch process (C#)

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

  1. #1

    Default Graphics labeled as figures error message in batch process (C#)

    Hello,

    I have a batch process I'm writing in C# to save the text of a PDF file. The process starts, opens Acrobat and the file, but after a few seconds I'll see the following error message in Acrobat:

    "Some difficult pages were encountered requiring all graphics on those pages to be labeled as figures."

    If I click okay and let the process continue, everything is fine, but I don't want to have to do that. It defeats the purpose of writing the batch code, of course.

    What's interesting is that the prompt shows up if I use the com.adobe.acrobat.plain-text saveAs option. If I use com.adobe.acrobat.accesstext as the option, the prompts don't show up.

    //object[] saveAsParam = { documentText, "com.adobe.acrobat.accesstext" };
    object[] saveAsParam = { documentText, "com.adobe.acrobat.plain-text" };
    T.InvokeMember(
    "saveAs",
    BindingFlags.InvokeMethod |
    BindingFlags.Public |
    BindingFlags.Instance,
    null, jsAcroObj, saveAsParam);

    Is there a way to catch the error and log it? Is there a way to suppress it?

    Thanks!
    M_Valentino@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Run batch process (OCR) using VB?
      is there any way to automate by vb.net
    2. Batch Process
      I am running Photoshop 6.0 on Windows XP ... I need to write a batch process/action which places a logo at the bottom of an image ... I would like...
    3. How to Write Batch Process
      Well I need only to make my pdf for searchable image. Which I can easy do with PAPER CAPTURE plug-in for Adobe Acrobat. My problem is to make this...
    4. Error Msg in Batch Process
      FWMX on XPHome: I'm trying to use the Fireworks batch process to scale directories full of jpeg and/or gif images. I made a script out of the...
    5. batch process?
      I have a large number of pages I want to update using the "Apply template to page..." option. Is there a way I can do this using a batch process...
  3. #2

    Default Re: Graphics labeled as figures error messagein batch process (C#)

    There is no way to catch that error.
    Leonard_Rosenthol@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