Page 1 of 1

How to build mrt file programmatically?

Posted: Fri May 08, 2020 5:02 pm
by Nuts_ethanol
Is there a way I can build the template mrt file with code?

I mean to create mrt file with the code. For example, I want to have a label placed in a definite position in report. Can I manually create the label object from code and let Stimulsoft generate this object and put in mrt file? So when I open this generated mrt file, I will see this label.

Thank you in advance

Re: How to build mrt file programmatically?

Posted: Tue May 12, 2020 9:38 am
by HighAley
Hello.

Yes, you can create the report with your code.
You could find a sample here:
https://github.com/stimulsoft/Samples-W ... 20Creation

Thank you.

Re: How to build mrt file programmatically?

Posted: Tue Jun 02, 2020 3:32 am
by Nuts_ethanol
Thank you. It works great

Re: How to build mrt file programmatically?

Posted: Tue Jun 02, 2020 7:53 am
by Andrew
Hello,

Okay, thank you!

Re: How to build mrt file programmatically?

Posted: Sat May 28, 2022 6:45 am
by mkzm
HighAley wrote: Tue May 12, 2020 9:38 am Hello.

Yes, you can create the report with your code.
You could find a sample here:
https://github.com/stimulsoft/Samples-W ... 20Creation

Thank you.
Hello,
I have the same problem but the link you provided is broken. also I searched through the repository on github and checked the projects in the solution but didn't find any example. how can I build mrt files at runtime?

Re: How to build mrt file programmatically?

Posted: Mon May 30, 2022 7:59 am
by Lech Kulikowski
Hello,

Please check the following link:
https://www.stimulsoft.com/en/samples/r ... at-runtime

Thank you.