Spread Windows Forms 6.0 Product Documentation
AlphaBlendShadowColor Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSShape Class : AlphaBlendShadowColor Property


Glossary Item Box

Gets or sets the amount of transparency of the shadow.

Syntax

Visual Basic (Declaration) 
Public Property AlphaBlendShadowColor As Integer
Visual Basic (Usage)Copy Code
Dim instance As PSShape
Dim value As Integer
 
instance.AlphaBlendShadowColor = value
 
value = instance.AlphaBlendShadowColor
C# 
public int AlphaBlendShadowColor {get; set;}

Property Value

Integer representing the amount of alpha blending

Remarks

Alpha blending determines the amount of transparency of the shadow.

Example

This example shows the use of the property in customizing a shape to illustrate the use of the property for classes that inherit this property.
C#Copy Code
FarPoint.Win.Spread.DrawingSpace.FourWayArrowShape sh = new FarPoint.Win.Spread.DrawingSpace.FourWayArrowShape();
sh.Name = "Arrow";
fpSpread1.ActiveSheet.AddShape(sh);

FarPoint.Win.Spread.DrawingSpace.PSShape ps;
ps = fpSpread1.ActiveSheet.GetShape("Arrow");
ps.AlphaBlendShadowColor = 150;
ps.BackColor = Color.Red;
ps.CanRenderText = true;
ps.DynamicMove = true;
ps.DynamicSize = true;
ps.ShadowColor = Color.Orange;
ps.ShadowDirection = DrawingSpace.ShadowDirection.TopLeft;
ps.ShadowOffset = 5;
ps.ShadowOffsetX = 10;
ps.ShadowOffsetY = 10;

Visual BasicCopy Code
Dim sh As New FarPoint.Win.Spread.DrawingSpace.FourWayArrowShape
sh.Name = "Arrow"
FpSpread1.ActiveSheet.AddShape(sh)

Dim ps As FarPoint.Win.Spread.DrawingSpace.PSShape
ps = FpSpread1.ActiveSheet.GetShape("Arrow")
ps.AlphaBlendShadowColor = 150
ps.BackColor = Color.Red
ps.CanRenderText = True
ps.DynamicMove = True
ps.DynamicSize = True
ps.ShadowColor = Color.Orange
ps.ShadowDirection = DrawingSpace.ShadowDirection.TopLeft
ps.ShadowOffset = 5
ps.ShadowOffsetX = 10
ps.ShadowOffsetY = 10

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.