GrapeCity MultiRow Windows Forms Documentation
WatermarkAlignment Property


Gets or sets a value by which to align the Watermark in the specific page.
Syntax
<DefaultValueAttribute()>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRDescriptionAttribute("Indicates a value by which to align the watermark in the specific page.")>
Public Property WatermarkAlignment As ContentAlignment
Dim instance As PrintSettings
Dim value As ContentAlignment
 
instance.WatermarkAlignment = value
 
value = instance.WatermarkAlignment
[DefaultValue()]
[RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("Indicates a value by which to align the watermark in the specific page.")]
public ContentAlignment WatermarkAlignment {get; set;}

Property Value

One of the System.Drawing.ContentAlignment values. The default is System.Drawing.ContentAlignment.MiddleCenter.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not a valid System.Drawing.ContentAlignment value.
Remarks
When the WatermarkSizeMode is SizeMode.Clip, you can set this property to control the alignment of the watermark image.
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
WatermarkSizeMode Property
WatermarkOpacity Property

 

 


Copyright © GrapeCity, inc. All rights reserved.