side effects of setting Border for DataBand? or a bug?

Stimulsoft Reports.NET discussion
Post Reply
sw
Posts: 22
Joined: Fri Jan 26, 2007 10:26 pm

side effects of setting Border for DataBand? or a bug?

Post by sw »

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
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

side effects of setting Border for DataBand? or a bug?

Post by Edward »

Please provide us with more details about this issue. We couldn't reproduce this bug.

Please show your code or send a sample to Image for analysis.

Thank you.
sw
Posts: 22
Joined: Fri Jan 26, 2007 10:26 pm

side effects of setting Border for DataBand? or a bug?

Post by sw »

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
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

side effects of setting Border for DataBand? or a bug?

Post by Guest »

Sorry, but we still couldn't reproduced this problem, our generated image files haven't watermark in the each row. Please send to Image 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.
Post Reply