Spread for ASP.NET 7.0 Product Documentation
Right Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Inset Class : Right Property


Glossary Item Box

Gets or sets the inset of the right border or margin in pixels.

Syntax

Visual Basic (Declaration) 
Public Property Right As Integer
Visual Basic (Usage)Copy Code
Dim instance As Inset
Dim value As Integer
 
instance.Right = value
 
value = instance.Right
C# 
public int Right {get; set;}

Property Value

Integer number of pixels

Example

This example sets an inset for the specified cell.
C#Copy Code
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; 
Visual BasicCopy Code
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.