groege / PdfSharpCore

PdfSharp port NetCore
47 stars 13 forks source link

PdfReader.Open bug #14

Open MortenEngellThomsen opened 6 years ago

MortenEngellThomsen commented 6 years ago

Tried to open a pdf document (template) to write on, however, by giving it the string path, it returns null - testpdf returns 0.

Using a filestream, testpdf gives 15 (version 1.5 of pdf, I assume) hover opening it with a filestream gives Unable to cast object of type 'PdfSharpCore.Pdf.PdfInteger' to type 'System.IConvertible'.

I really would like to write on a template pdf :)

AndrePScope commented 6 years ago

Same problem, but I am using another PdfSharpCore lib. https://github.com/ststeiger/PdfSharpCore

elijadar commented 6 years ago

Same problem

EssyTech commented 6 years ago

Have the same issue.