Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

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);
    }
}
You do not have the required permissions to view the files attached to this post.

softecregistrierung
 
Posts: 21
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