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 Oct 03, 2018 2:54 pm

Dear Spire Team,

I am trying to use and test spire.doc.

code snippet:

public byte[] GetModifiedPDFDocument()
{
_wordDocument.Save();

var doc = new Document(_wordMS, Spire.Doc.FileFormat.Docx);
var tmpStream = new MemoryStream();

doc.SaveToStream(tmpStream, Spire.Doc.FileFormat.pdf);

return tmpStream.ToArray();
}

The variables _wordDocument and _wordMS are generated through a different api.
I've included the docx file and the converted pdf.

Thanks,
Nir

nir_fmr
 
Posts: 1
Joined: Wed Oct 03, 2018 11:44 am

Thu Oct 04, 2018 1:20 am

Dear Nir,

Thanks for your post.
I did notice the distorted issue when converting your word file, I already logged it into our bug tracking system for investigating and fixing. Currently, we are having our Chinese National Day holiday from Oct.1st to Oct.7th, our Dev team will work on this issue once they come back office. Sorry for any inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Doc