Search found 55 matches

by Woodcutter
Sat Apr 27, 2024 11:43 am
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

Hey Lech

StiFontCollection.AddFontFile("simkai.ttf", "楷体");

Works good! :D :D

Thanks for your kindly help.

Henry
by Woodcutter
Wed Apr 24, 2024 1:32 pm
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

Hi Lech: Base on your code ,In my computer, set to "Arial Unicode MS" StiFontCollection.AddFontFile("ARIALUNI.ttf"); Works OK. set to "微软雅黑" StiFontCollection.AddFontFile("msyh.ttc"); Works NG. set to "楷体" StiFontCollection.AddFontFile("simkai.t...
by Woodcutter
Tue Apr 23, 2024 12:35 pm
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

The code: StiFontCollection.AddFontFile("msyh"); StiFontCollection.AddFontFile("Arial Unicode MS"); Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport(); report.Load(@"TestMRZ7.mrz"); report.Render(); if (File.Exists(@"d:\aaa.pdf") == true) F...
by Woodcutter
Tue Apr 23, 2024 1:56 am
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

Although when I use "Arial Unicode MS", the Chinese characters is missing yet.

In Stimulsoft reports for .NET Framework , this problem is not exists .
by Woodcutter
Mon Apr 22, 2024 1:12 am
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

Hey Lech

This code works OK, thank you.
but in the Stimulsoft.Reports.Engine.NetCore 2024.2.2
there is a new problem for display Chinese characters.
by Woodcutter
Wed Apr 17, 2024 1:08 am
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

Hey Lech When: Stimulsoft.Drawing.Graphics.GraphicsEngine = Stimulsoft.Drawing.GraphicsEngine.Gdi; Then: System.NullReferenceException: Object reference not set to an instance of an object. at Stimulsoft.Drawing.Font.get_Size() at Stimulsoft.Report.Components.StiWatermark.ShouldSerializeFont() at St...
by Woodcutter
Tue Apr 16, 2024 7:19 am
Forum: Stimulsoft Ultimate
Topic: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms
Replies: 20
Views: 402

Re: System.IO.FileNotFoundException: Could not load file or assembly System.Windows.Forms

Hello, You should use the Stimulsoft.Reports.Engine.NetCore package instead of the Stimulsoft.Reports.Engine. Thank you. Hi Lech The Stimulsoft.Reports.Engine.NetCore works OK ,but the new error happened. Code as below: Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport(); report....