Spread for ASP.NET 9.0 Product Documentation
Top Property (Inset)
Example 


Gets or sets the inset of the top border or margin in pixels.
Syntax
'Declaration
 
Public Property Top As Integer
'Usage
 
Dim instance As Inset
Dim value As Integer
 
instance.Top = value
 
value = instance.Top
public int Top {get; set;}

Property Value

Integer number of pixels
Example
This example sets an inset for the specified cell.
FarPoint.Web.Spread.Inset inset = new FarPoint.Web.Spread.Inset(); 
inset.Left = 35; 
inset.Top = 5; 
inset.Right = 5; 
inset.Bottom = 35; 
FpSpread1.ActiveSheetView.Cells(0, 0).Margin = inset; 
Dim inset As New FarPoint.Web.Spread.Inset
inset.Left = 35
inset.Top = 5
inset.Right = 5
inset.Bottom = 35
FpSpread1.ActiveSheetView.Cells(0, 0).Margin = inset
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Inset Class
Inset Members

 

 


Copyright © GrapeCity, inc. All rights reserved.