Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Dec 19, 2018 4:21 pm

Hi

I'm trying to convert one document Doc in PDF, this program works well, but when the document's size is 7 mb, programa fails.
I attach the code used,
documento= contains base 64 of the document in doc

using (var memoryDocument = new MemoryStream())
using (var document = new Document(new MemoryStream(Convert.FromBase64String(documento))))
{
document.SaveToStream(memoryDocument, Spire.Doc.FileFormat.PDF);
string base64Document = Convert.ToBase64String(memoryDocument.ToArray());
memoryDocument.Close();
}

daniel9109
 
Posts: 1
Joined: Wed Dec 19, 2018 4:11 pm

Thu Dec 20, 2018 2:27 am

Hi,

Thanks for your inquiry.
If you were using old version, I firstly suggest using the latest Spire.Doc Pack(hot fix) Version:6.12.4.
If the issue still happens, to help us investigate further, please provide your input file to us([email protected]) via email.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 25, 2018 6:15 am

Hi,

Hope you are doing well.
Has your issue been resolved? If not, please share your input file.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc

cron