Copy link to clipboard
Copied
The contents of PDAnnot and CosObj are "opaque". This means, Acrobat keeps them there and we cannot know the meaning. I can tell you that the value a=-1073741824 b=4 looks perfectly normal. You can check the Cos object values with CosObjGetType, CosObjGet...Value etc.
To get more details with an error like "Problem reading a document (44) you can use Ctrl+OK (hold down Ctrl key and click OK). The error is more detailed, but still does not tell you where is the fault. I cannot see anything in thi
...Copy link to clipboard
Copied
The contents of PDAnnot and CosObj are "opaque". This means, Acrobat keeps them there and we cannot know the meaning. I can tell you that the value a=-1073741824 b=4 looks perfectly normal. You can check the Cos object values with CosObjGetType, CosObjGet...Value etc.
To get more details with an error like "Problem reading a document (44) you can use Ctrl+OK (hold down Ctrl key and click OK). The error is more detailed, but still does not tell you where is the fault. I cannot see anything in this piece of code which will damage a PDF.
Copy link to clipboard
Copied
いつも返答いただきありがとうございます。Ctrl+OKは知りませんでした。おかげさまで、投稿したコードではなく、その後のコードの CosNewStream に問題があったとわかりました。
Find more inspiration, events, and resources on the new Adobe Community
Explore Now