|
Page contents may be an array as well. Please look at this Code:
var arr = doc.Pages[0].Dictionary["Contents"].As<Patagames.Pdf.Net.BasicTypes.PdfTypeArray>();
for (int i = 0; i < arr.Count; i++)
{
var decodedText = arr[i].As<PdfTypeStream>().DecodedText;
}
|
|
Hi, I have problems with some PDF's. I insert layers in the PDF's and geometric shapes and text in these layers. For most of the files that works fine so far, but now I have some PDF's get in which I have difficulties. This starts with the fact that I can not read the PageContent as usual with Code:pageContent = pg.Dictionary("Contents").As(Of Patagames.Pdf.Net.BasicTypes.PdfTypeStream).DecodedText
The code for inserting the layers and figures works without an error message, but nothing is visible in the output file. I attach 2 files, one original and one modified.And a section of what it should look like Can someone help me? Greetings Christian (c) 210-AR-AN-NO-001-V01-Model.pdf (679kb) downloaded 17 time(s). changed_(c) 210-AR-AN-NO-001-V01-Model.pdf (657kb) downloaded 17 time(s). Ausschnitt.JPG (426kb) downloaded 17 time(s).
|
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close