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 Jun 17, 2021 6:45 pm

I have Spire.office v5.12.8 installed in 2 projects.
One is a .netcore 3.1 project, the other is .netframework.

When I generate a word doc then pdf, the logo is a different scale coming from each of the projects.

Code: Select all
var logoPara = zeroRow.Cells[0].AddParagraph();
var logoStream = Assembly.GetAssembly(typeof(TMRUtil)).GetManifestResourceStreamByFileName("MacLogo90px.jpg");
var pic = logoPara.AppendPicture(logoStream);

[email protected]
 
Posts: 110
Joined: Tue May 19, 2015 8:09 pm

Fri Jun 18, 2021 5:59 am

Hello,

Thanks for your inquiry.
I simulated an image and tested the following code with Spire.Office V5.12.8, but I got same results when running in both .netframework and .netcore 3.1 projects. To help us further investigate your issue, please provide your input file and the logo image. You could send them to us ([email protected]) via email. Thanks in advance.
Code: Select all
            var image = "test.jpeg";
            var doc = new Document();

            var section = doc.AddSection();
            Table table = section.AddTable();
            table.AddRow(2);
            table.AddRow(2);

            var logoPara = table.Rows[0].Cells[0].AddParagraph();
            logoPara.AppendPicture(image);

            doc.SaveToFile("resultofficenet.pdf", FileFormat.PDF);


Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri Jun 18, 2021 6:48 pm

Thank you, I have sent you an email.

[email protected]
 
Posts: 110
Joined: Tue May 19, 2015 8:09 pm

Mon Jun 21, 2021 2:55 am

Hello,

Thanks for providing your input file via email.
I tested your case and did reproduce your issue. I have logged it in our bug tracking system with the ticket SPIREDOC-6176. If there is any update, we will let you know. Apologize for the inconvenience caused.
If you have any other questions related to our products, please feel free to contact us.


Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Thu Jul 08, 2021 9:30 am

Hello,

Greetings from E-iceblue!
Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version:6.7.0 which fixes the issue SPIREDOC-6176, please download it from the following links to test on your side. Looking forward to your test result.
Nuget link: https://www.nuget.org/packages/Spire.Office/6.7.0
website link: https://www.e-iceblue.com/Download/down ... t-now.html

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri Jul 16, 2021 9:08 am

Hello,

Greetings from E-iceblue!
Does this hotfix solve your issue? Could you please give us some feedback at your convenience?

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Thu Apr 13, 2023 1:52 pm

Hello, After updation your system then there will be no issue of netstandard.dll file error , because it may be happen due to old or out of dated version of window. we know that every update version show the new things. pcpatchedup.com/netstandard-dll

jhonray_22
 
Posts: 1
Joined: Thu Apr 13, 2023 1:38 pm

Fri Apr 14, 2023 1:20 am

jhonray_22 wrote:Hello, After updation your system then there will be no issue of netstandard.dll file error , because it may be happen due to old or out of dated version of window. we know that every update version show the new things. pcpatchedup.com/netstandard-dll

Hi,

Thanks for your feedback.
Glad to hear that the new version fixed your issue, please do not hesitate to reach out to us if you have any further questions or concerns.

Have a nice day! :D

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.Doc