FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BorderProperty Class : BorderStyleTop Field |
'Declaration Public Shared ReadOnly BorderStyleTop As BorderProperty
'Usage Dim value As BorderProperty value = BorderProperty.BorderStyleTop
public static readonly BorderProperty BorderStyleTop
FarPoint.Web.Spread.Border b = new FarPoint.Web.Spread.Border(); bool ie; FarPoint.Web.Spread.Cell c; b.BorderColor = Color.Yellow; b.BorderSize = 3; b.BorderStyle = BorderStyle.Inset; c = FpSpread1.ActiveSheetView.Cells[0, 0]; c.Border = b; ie = b.IsEmpty(); TextBox1.Text = ie.ToString();
Dim b As New FarPoint.Web.Spread.Border Dim ie As Boolean Dim c As FarPoint.Web.Spread.Cell b.BorderColor = Color.Yellow b.BorderSize = 3 b.BorderStyle = BorderStyle.Inset c = FpSpread1.ActiveSheetView.Cells(0, 0) c.Border = b ie = b.IsEmpty() TextBox1.Text = ie.ToString()
For more information on these border styles, see the BorderStyle enumeration in the Microsoft .NET Framework Reference.
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional