Hi,
When the Border property of a databand is set to All, then image returned by GetThumnail() has a watermark under each row of data. The watermark is set to the name of the databand. But on the preview window and if using Export, the watermark is not in the rendered image.
Could you please give an example of how to remove the watermark for the DataBand component?
thanks,
sw
side effects of setting Border for DataBand? or a bug?
side effects of setting Border for DataBand? or a bug?
Please provide us with more details about this issue. We couldn't reproduce this bug.
Please show your code or send a sample to
for analysis.
Thank you.
Please show your code or send a sample to

Thank you.
side effects of setting Border for DataBand? or a bug?
Steps to reproduce the problem:
1. After adding a databand on the report, add two columns from a data source.
2. set the border property of the databand to [All]
3. using the following code to generate the image
string repfile = @"report.mrt";
StiReport report = new StiReport();
report.Load(repfile);
report.Compile();
report.Render(false);
int cnt = 1;
foreach (StiPage page in report.RenderedPages) {
Bitmap img = page.GetThumbnail(640, 800);
img.Save(string.Format("report{0}.jpg", cnt++), ImageFormat.Jpeg);
}
Notice the watermark on the generated image files. Please note the the preview in the designer and exported image using designer do not have this problem.
sw
1. After adding a databand on the report, add two columns from a data source.
2. set the border property of the databand to [All]
3. using the following code to generate the image
string repfile = @"report.mrt";
StiReport report = new StiReport();
report.Load(repfile);
report.Compile();
report.Render(false);
int cnt = 1;
foreach (StiPage page in report.RenderedPages) {
Bitmap img = page.GetThumbnail(640, 800);
img.Save(string.Format("report{0}.jpg", cnt++), ImageFormat.Jpeg);
}
Notice the watermark on the generated image files. Please note the the preview in the designer and exported image using designer do not have this problem.
sw
side effects of setting Border for DataBand? or a bug?
Sorry, but we still couldn't reproduced this problem, our generated image files haven't watermark in the each row. Please send to
one of this image and the mrt file. Also please tell us your version of StimulReport and date of the build. And additionally, try to download the last build, because we check your problem on it.
Thank you.

Thank you.