Page 1 of 1

Report Properties

Posted: Thu Jul 17, 2014 2:30 pm
by Phiii_Tiago
Good day, I am developing an application where the use Stimulsoft for viewing / printing reports about the system.
I'm with two questions.

. 1 In my desing I configured the report titles margins everything right, but when I do my research and send the report, running the margin it comes differentiated, one side is shorter than the other, following the example below, see in the image Ex1
Ex1
Ex1
relatorio1.jpg (174.22 KiB) Viewed 4366 times
And I would leave this line line, the same size for both sides.

2. My control I use "StiSLViewerControl", and when the report is running on top of the control is written "Viewer" word, I would like to change this word, a word for my taste, I can make alteação this word?
See where I want to change the image Ex2
Ex2
Ex2
relatorio2.jpg (175.7 KiB) Viewed 4366 times
I am carrying my report file as follows:

Code: Select all

StreamReader reader = new StreamReader(a.GetManifestResourceStream(strArquivo));
         StiReport report = new StiReport();
         report.Load(reader.BaseStream);
         reader.Close();
         reader.Dispose();
         report.CalculationMode = StiCalculationMode.Interpretation;
         report.RegBusinessObject("Data", "Data", dataRelatorio);
         report.Render();
         report.Show();
The data that are loaded, they are brought to a query in the database.
To change the name of the control or fix the margin I have to change in code, or the desing of the report?
I thank everyone's attention, no doubt esou layout for better clarification.

Thank you.

Philipe Cunha

Re: Report Properties

Posted: Fri Jul 18, 2014 9:04 am
by HighAley
Hello.

You could try to use next code to change title of the Viewer.

Code: Select all

StiOptions.Viewer.ViewerTitle = "YourTitle";
Thank you.

Re: Report Properties

Posted: Fri Jul 18, 2014 9:35 am
by HighAley
Hello.

We know about this issue with margins. We have some problems with solving it in Silverlight.
We are working on its solution.

Thank you.

Re: Report Properties

Posted: Fri Jul 18, 2014 11:15 am
by Phiii_Tiago
Ok, thank you.

Once you have a solution to the error margins, you will release an update of stimulsof?

Thanks for your help.

Re: Report Properties

Posted: Mon Jul 21, 2014 7:11 am
by HighAley
Hello.

The problem with margins exists in Viewer only. This problem is connected with some problems with drawing in Silverlight.
If you export the report to any format, you will get the report with right margins.
Unfortunately, we couldn't solve this problem in viewer.

Thank you.