Search found 273 matches

by Vadim
Thu Apr 08, 2021 8:28 am
Forum: Stimulsoft Reports.Web
Topic: Issue with Angular Designer not disposing instance
Replies: 7
Views: 294

Re: Issue with Angular Designer not disposing instance

Hello.

We will let you know about the result as fast as possible.

Thank you.
by Vadim
Mon Mar 22, 2021 6:50 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 780

Re: Use font without include or install them

Hello.

If i set him to true that's works, but it's will include the font into the pdf and growth the size of the pdf ? - Yes.

To display font there is two ways: embedded this font into PDF or install font to system.
by Vadim
Wed Mar 17, 2021 6:28 pm
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 780

Re: Use font without include or install them

Hello. We use next code StiFontCollection.addResourceFont("testfont", FileUtils.readFileToByteArray(new File("C:/234/Wolf in the City.ttf")), "ttf"); StiReport report2 = StiSerializeManager.deserializeReport(new FileInputStream("c:/234/font.mrt")); report2.render(); StiExportManager.exportPdf(report...
by Vadim
Thu Mar 11, 2021 9:34 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 780

Re: Use font without include or install them

Hello.

In report you must use font name that described in font file (not in name addResourceFont(String name...))
by Vadim
Tue Mar 02, 2021 11:10 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 780

Re: Use font without include or install them

Hello.

com.stimulsoft.base.StiFontCollection.addResourceFont(String name, byte[] content, String extension)

This method register font in LocalGraphicsEnvironment, you can use it by putting font file content into parameter byte[] content
by Vadim
Mon Mar 01, 2021 10:39 am
Forum: Stimulsoft Reports.Web
Topic: Issue with Angular Designer not disposing instance
Replies: 7
Views: 294

Re: Issue with Angular Designer not disposing instance

Hello.

We need more time to prepare an answer for you.
We will let you know when we get any results.

Thank you.
by Vadim
Mon Mar 01, 2021 10:37 am
Forum: Stimulsoft Reports.Java
Topic: expression in picture dose`t work
Replies: 10
Views: 892

Re: expression in picture dose`t work

Hello.

For example you can add expression to image File path
by Vadim
Wed Feb 24, 2021 9:33 am
Forum: Stimulsoft Reports.Web
Topic: API Controller in a different domain location
Replies: 13
Views: 1078

Re: API Controller in a different domain location

Hello.

Please add to designer (designerLoaded) event:
let viewerId = this.designer.designerEl.nativeElement.firstChild.jsObject.options.viewerId;
window["js" + viewerId + "Parameters"].options.requestAbsoluteUrl = ...

will it help you ?
by Vadim
Tue Feb 23, 2021 12:22 pm
Forum: Stimulsoft Reports.Java
Topic: expression in picture dose`t work
Replies: 10
Views: 892

Re: expression in picture dose`t work

Hello.

ds.tables.get(11).getRows().get(0).setValue("Pic",bi1); is data column, so you need string base64 image here.
by Vadim
Tue Feb 23, 2021 12:17 pm
Forum: Stimulsoft Reports.Web
Topic: Web api with Angular use case with different urls
Replies: 3
Views: 738

Re: Web api with Angular use case with different urls

Hello.

You can access it in Designer (designerLoaded) event:
let viewerId = this.designer.designerEl.nativeElement.firstChild.jsObject.options.viewerId;
window["js" + viewerId + "Parameters"].options.requestAbsoluteUrl;