Spread Windows Forms 10.0 Product Documentation
Shape Property (ShapeProps)
Example 


Gets or sets the shape.
Syntax
'Declaration
 
Public Overridable Property Shape As PSShape
'Usage
 
Dim instance As ShapeProps
Dim value As PSShape
 
instance.Shape = value
 
value = instance.Shape
public virtual PSShape Shape {get; set;}
Example
FarPoint.Win.Spread.DrawingSpace.ShapeProps sp = new FarPoint.Win.Spread.DrawingSpace.ShapeProps();
sp.Shape = new FarPoint.Win.Spread.DrawingSpace.RectangleShape();
sp.SetBounds(40, 40, 20, 20);
fpSpread1.ActiveSheet.AddShape(sp.Shape);
Dim sp As New FarPoint.Win.Spread.DrawingSpace.ShapeProps(FpSpread1)
sp.Shape = New FarPoint.Win.Spread.DrawingSpace.RectangleShape
sp.SetBounds(40, 40, 20, 20)
FpSpread1.ActiveSheet.AddShape(sp.Shape)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ShapeProps Class
ShapeProps Members

 

 


Copyright © GrapeCity, inc. All rights reserved.