GrapeCity MultiRow Windows Forms Documentation
WatermarkOpacity Property


Gets or sets a value that indicates the opacity of the Watermark.
Syntax
<TypeConverterAttribute("System.Windows.Forms.OpacityConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<SRDescriptionAttribute("Indicates the opacity of the watermark.")>
<DefaultValueAttribute()>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property WatermarkOpacity As Double
Dim instance As PrintSettings
Dim value As Double
 
instance.WatermarkOpacity = value
 
value = instance.WatermarkOpacity
[TypeConverter("System.Windows.Forms.OpacityConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[SRDescription("Indicates the opacity of the watermark.")]
[DefaultValue()]
[RefreshProperties(RefreshProperties.Repaint)]
public double WatermarkOpacity {get; set;}

Property Value

A System.Double value that indicates the opacity of the Watermark. The default is 1.0.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The assigned value is less than 0 or greater than 1.
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

PrintSettings Class
PrintSettings Members
Watermark Property
WatermarkPrintOnPages Property
WatermarkAlignment Property
WatermarkSizeMode Property

 

 


Copyright © GrapeCity, inc. All rights reserved.