Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Sun Mar 19, 2017 6:03 am
hello
i am using spire.pdf dll.
i have a winform in which i read a pdf file from a folder.
i want to convert it to a byte array(or to a better option???) and pass it as variable to a WCF service(which i have)
in the WCF service i want to save this byte array as PDF.
i am getting an "index was out of bounds of an array" when i am trying to open a new pdf document with this byte array:
the size of the array is 910200 bytes
PdfDocument doc = new PdfDocument();
doc.LoadFromBytes(byteArray);------> Here i get the Exception
doc.SaveToFile(.......)
-
tomherman7@gmail.com
-
- Posts: 1
- Joined: Tue Jun 14, 2016 1:46 pm
Mon Mar 20, 2017 3:22 am
Hi,
Thanks for your inquiry.
We will appreciate it if you could provide us the input file which has issue for investigation.
Thanks,
Betsy
E-iceblue support team
-
Betsy.jiang
-
- Posts: 3099
- Joined: Tue Sep 06, 2016 8:30 am