FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.DrawingSpace 名前空間 > LineShape クラス : EndCap プロパティ |
'Declaration Public Overridable Property EndCap As LineCap
public virtual LineCap EndCap {get; set;}
FarPoint.Win.Spread.DrawingSpace.LineShape ls = new FarPoint.Win.Spread.DrawingSpace.LineShape();
ls.EndCap = Drawing2D.LineCap.RoundAnchor;
ls.StartCap = Drawing2D.LineCap.RoundAnchor;
ls.Thickness = 6;
ls.SetBounds(10, 10, 50, 50);
fpSpread1.ActiveSheet.AddShape(ls);
Dim ls As New FarPoint.Win.Spread.DrawingSpace.LineShape() ls.EndCap = Drawing2D.LineCap.RoundAnchor ls.StartCap = Drawing2D.LineCap.RoundAnchor ls.Thickness = 6 ls.SetBounds(10, 10, 50, 50) FpSpread1.ActiveSheet.AddShape(ls)