Xceed Chart for WinForms v4.4 Documentation
Watermark Constructor


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Watermark Class : Watermark Constructor
Creates a new empty semi transparent watermark positioned at the center of the control window.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New Watermark()
public Watermark()
Remarks
After you create the watermark you must specify the image this watermark will display. The following example create a new watermark based on the "Coffee Bean.bmp" picture.


Dim watermark As Watermark =  New Watermark() 

watermark.ImageFileName = "c:\windows\Coffee Bean.bmp"

ChartControl.Watermarks.Add(watermark)



Watermark watermark = new Watermark();

watermark.ImageFileName = "c:\\windows\\Coffee Bean.bmp";

ChartControl.Watermarks.Add(watermark);

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Watermark Class
Watermark Members