Import.RTF as method call
Import.RTF as method call
Hi,
are there any API functions for importing RTFs (e.g. as in Import.RTF).
(I'd like to have this as stream version, too).
If not, can you please include this in 2014.2?
Thank you!
are there any API functions for importing RTFs (e.g. as in Import.RTF).
(I'd like to have this as stream version, too).
If not, can you please include this in 2014.2?
Thank you!
Re: Import.RTF as method call
Sorry, I didn't explain the problem properly:
I'd like to create a .mrt file from an existing .rtf file (like the Import.RTF.exe)
programm can do.
How can I do that by code?
(This question is not about exporting .rtf from a report. That's sweet and easy in Stimulsoft!)
I'd like to create a .mrt file from an existing .rtf file (like the Import.RTF.exe)
programm can do.
How can I do that by code?
(This question is not about exporting .rtf from a report. That's sweet and easy in Stimulsoft!)
Re: Import.RTF as method call
Hello.
Sorry, we didn't understand your question first time.
Our import convert RTF to Stimulsoft Report Template but anyway each report should be edited manually. We don't guaranty that you will achieve the expected results.
To import rtf by code you could use next code:
Thank you.
Sorry, we didn't understand your question first time.
Our import convert RTF to Stimulsoft Report Template but anyway each report should be edited manually. We don't guaranty that you will achieve the expected results.
To import rtf by code you could use next code:
Code: Select all
StiReport report = new StiReport();
FileStream stream = new FileStream(rtf_filename, FileMode.Open);
Stimulsoft.Report.SaveLoad.StiRtfReportSLService rtfService = new Stimulsoft.Report.SaveLoad.StiRtfReportSLService();
rtfService.Load(report, stream);
if (RegionInfo.CurrentRegion.IsMetric) report.ReportUnit = StiReportUnitType.Millimeters;
report.Save(template_filename);
Re: Import.RTF as method call
The quality of the autoimporter is often quite acceptable (compared to the manual work).
And it's nice for impressing customers
Thank you!
And it's nice for impressing customers

Thank you!
Re: Import.RTF as method call
Hello.
We are always glad to impress you.
Let us know if you need any additional help.
Thank you.
We are always glad to impress you.

Let us know if you need any additional help.
Thank you.
Re: Import.RTF as method call
Hello Aleksey!
Stimulsoft.Report.SaveLoad.StiRtfReportSLService
isn't avaiable in the core DLLs.
I just found a reference in
C:\Program Files (x86)\Stimulsoft Reports.Ultimate 2014.1\Bin\Import.Rtf.exe
Any Idea?
Stimulsoft.Report.SaveLoad.StiRtfReportSLService
isn't avaiable in the core DLLs.
I just found a reference in
C:\Program Files (x86)\Stimulsoft Reports.Ultimate 2014.1\Bin\Import.Rtf.exe
Any Idea?
Re: Import.RTF as method call
Hello.
Please, look at the "C:\Program Files (x86)\Stimulsoft Reports.Ultimate 2014.1\Imports\Import.Rtf.zip" archive.
You could find there a project with this tool.
Thank you.
Please, look at the "C:\Program Files (x86)\Stimulsoft Reports.Ultimate 2014.1\Imports\Import.Rtf.zip" archive.
You could find there a project with this tool.
Thank you.
Re: Import.RTF as method call
+ 100 Like 

Re: Import.RTF as method call
Hello.
Let us know if you need any additional help.
Thank you.
Let us know if you need any additional help.
Thank you.