Spread for ASP.NET 8.0 Product Documentation
BorderSizeTop Field
Example 


Represents the BorderSizeTop property (index is 9), which specifies the width of the top border.
Syntax
'Declaration
 
Public Shared ReadOnly BorderSizeTop As BorderProperty
'Usage
 
Dim value As BorderProperty
 
value = BorderProperty.BorderSizeTop
public static readonly BorderProperty BorderSizeTop
Example
This example sets different border styles around a cell.
FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 2); 
bord.BorderStyleTop = BorderStyle.Ridge; 
bord.BorderStyleBottom = BorderStyle.Double; 
bord.BorderStyleLeft = BorderStyle.Solid; 
bord.BorderStyleRight = BorderStyle.Dotted; 
FpSpread1.ActiveSheetView.Cells(2, 2).Border = bord;
Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 2)
bord.BorderStyleTop = BorderStyle.Ridge
bord.BorderStyleBottom = BorderStyle.Double
bord.BorderStyleLeft = BorderStyle.Solid
bord.BorderStyleRight = BorderStyle.Dotted
FpSpread1.ActiveSheetView.Cells(2, 2).Border = bord
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

BorderProperty Class
BorderProperty Members
BorderSize Field

 

 


Copyright © GrapeCity, inc. All rights reserved.