Read and write byte array into PDF file

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

  1. #1

    Default Read and write byte array into PDF file

    Hello all
    I want to read and write byte array into PDF file.I can use "CosNewStream" to create CosObj contained byte array.But how can I get the byte array in the CosObj? Can some one give me some suggestion??

    Thanks in advance!
    yiyun@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Unable to read/write to .ini file using .dll in webservice
      Hi, I am new to asp.net. I am creating a web service. This I havedone. The web service calls one of our .dll's. This .dll usesthe...
    2. File system get auto change from read-write to read-oly
      I have a very strange file system with OS Redhat 7.2 The file system is read-write, but some how it randomly changes to read-only at any time....
    3. read/write binary file
      I'm writing a web service which will return a string containing the contents of a binary file (converted using System.Convert.ToBase64String). When...
    4. Read/write IPTC info from a JPEG file?
      Is there a way for ASP.net to read and write IPTC info from a JPEG file? Just like what PHP can do? Really appreciate your answer.
    5. Read/Write IO on socket file descriptor
      Hi all, I'm trying to perform read and write I/O on a socket file descriptor received for another process via a Unix Domain Socket. In trying to...
  3. #2

    Default Re: Read and write byte array into PDF file

    See CosStreamGetStm. Also, bear in mind that simply creating a Cos
    object does not mean it will be kept in the PDF; you need to store it
    into a suitable place in the existing object heirarchy. Otherwise it
    may be orphaned. The keys used to find your object in shared places
    should start with your own registered company prefix.

    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

  4. #3

    Default Re: Read and write byte array into PDF file


    yiyun@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