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.

Thu Nov 17, 2011 8:48 am

Hi

Please find attached a template.
Below two code sections. Why is the font size on footer page 2 when using SaveToStream different from using SaveToFile?

Best regards,
Hubert

Code: Select all
Document documentSaveToFile = new Document("Template.docx");
documentSaveToFile.SaveToFile("Output_SaveToFile.docx", FileFormat.Docx);


Code: Select all
Document documentSaveToStream = new Document("Template.docx");
using (FileStream fs = new FileStream("Output_SaveToStream.docx", FileMode.OpenOrCreate))
{
    using (MemoryStream ms = new MemoryStream())
    {
        documentSaveToStream.SaveToStream(ms, FileFormat.Docx);
        fs.Write(ms.ToArray(), 0, ms.ToArray().Length);
    }
}

softecregistrierung
 
Posts: 22
Joined: Mon Mar 07, 2011 9:35 am

Fri Nov 18, 2011 4:41 pm

Hello softecregistrierung,

Sorry for any inconveniences caused by us and thank you for your patience.

We reproduced the scenario. We need more time to research on the issue. Once we have any research progresses, we will inform you as soon as possible.

Have a nice day.
Tina
Technical Support/Developer,
e-iceblue Support Team
User avatar

Tina.Lin
 
Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Wed Nov 23, 2011 10:00 am

Hello,

The issue you proposed has been fixed in HotFix4.1.12. You can download it from following address:
http://www.e-iceblue.com/Download/download-word-for-net-now.html

If you still have any other questions, please don't hesitate to contact us.
Have a nice day.
Tina
Technical Support/Developer,
e-iceblue Support Team
User avatar

Tina.Lin
 
Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Return to Spire.Doc