Customized WaterMark

Stimulsoft Reports.NET discussion
Post Reply
seekianshim
Posts: 31
Joined: Mon Jun 07, 2010 7:55 am
Location: Malaysia

Customized WaterMark

Post by seekianshim »

Hi, may I know is it possible to have WaterMark for report?
Between, can I've have image as report background?

Thanks
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Customized WaterMark

Post by Andrew »

Hello,

The Watermark property allows user to output one image and one inscription on the background or foreground. The Watermark property has sub-properties to output watermarks.

On the table below Text properties for watermark are described.

Text
A text that is used to output a watermark
Text Brush
A brush to output a watermark
Font
A font that is used to output a watermark
Angle
An angle to rotate a watermark
ShowBehind
Show text of a watermark on the background or foreground


In the text below Image properties for watermark are described.

Image
An image to output
ImageAlignment
This property is used to align an image on a page
ImageMultipleFactor
A multiplier that is used to change image size
AspectRatio
Saves proportions of an image
ImageTiling
If to set this property to true, then it will be tiled throughout a page
ImageTransparency
This property is used to set image transparency
ImageStretch
Stretches an image on a page
ShowImageBehind
Shows an image of a watermark on the background or foreground


Also there is another Enabled property. This property enables or disables watermark output.
===========================================================
The OverlayBand is used to output text, images, primitives and other data.

The OverlayBand is placed on the top of all other bands. The Watermark, for example, is placed in the foreground or in the background. The advantage of the OverlayBand over Watermark is that it is not a page element but a band which has properties of bands.
Watermark is either printed on all pages or not printed. The OverlayBand band allows selecting 7 ways of printing. In Watermark, for the same operation script should be printed.

The PrintOn property has 7 values:
All page;
ExceptFirstPage;
ExceptLastPage;
ExceptFirstAndLastPage;
OnlyFirstPage;
OnlyLastPage;
OnlyFirstAndLastPage.
===========================================================
One of the options for placement of the "watermark" inscription is a direct placement on the page. This means that the direct placement of any component, which will be the "watermark" inscription on a page of a report template.

Direct placement on a page allows showing an inscription on the background but at any of the working space.
There is the Linked property. This Linked property may have two values: true and false.
If the property is set to false, then the relation with "owner" is not fixed. In other words the "owner" is the report template item on which theTextBox component is placed.
If the property is set to true, then the relation with "owner" is fixed. In other words the TextBox component may change the position but it will be referred to the item on what it is fixed.

Let us know if you have some additional questions.
Thank you.
Post Reply