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
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
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();
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