FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.DrawingSpace 名前空間 > ShapeProps クラス : Shape プロパティ |
'Declaration Public Overridable Property Shape As PSShape
'使用法 Dim instance As ShapeProps Dim value As PSShape instance.Shape = value value = instance.Shape
public virtual PSShape Shape {get; set;}
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)