Creates a new universal "no" shape.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New() |
C# | |
---|
public UniversalNoShape() |
Example
This example creates a universal No symbol shape.
C# | Copy Code |
---|
FarPoint.Win.Spread.DrawingSpace.UniversalNoShape nosymbol = new FarPoint.Win.Spread.DrawingSpace.UniversalNoShape();
nosymbol.Parent = fpSpread1;
nosymbol.BackColor = Color.Red;
nosymbol.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
nosymbol.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
nosymbol.Anchor = 20;
nosymbol.SetBounds(15, 15, 50, 50);
fpSpread1.ActiveSheet.AddShape(nosymbol); |
Visual Basic | Copy Code |
---|
Dim nosymbol As New FarPoint.Win.Spread.DrawingSpace.UniversalNoShape
nosymbol.Parent = FpSpread1
nosymbol.BackColor = Color.Red
nosymbol.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth
nosymbol.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical
nosymbol.Anchor = 20
nosymbol.SetBounds(15, 15, 50, 50)
FpSpread1.ActiveSheet.AddShape(nosymbol) |
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