Report Properties

Stimulsoft Reports.Silverlight discussion
Locked
Phiii_Tiago
Posts: 4
Joined: Thu Jul 17, 2014 2:07 pm

Report Properties

Post 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 3241 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 3241 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
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report Properties

Post 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.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report Properties

Post 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.
Phiii_Tiago
Posts: 4
Joined: Thu Jul 17, 2014 2:07 pm

Re: Report Properties

Post 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.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report Properties

Post 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.
Locked