Spread Windows Forms 10.0 Product Documentation
CellPadding Constructor(Int32)
Example 


The padding value, in pixels, for all edges.
Initializes a new instance of the CellPadding class.
Syntax
'Declaration
 
Public Function New( _
   ByVal all As Integer _
)
'Usage
 
Dim all As Integer
 
Dim instance As New CellPadding(all)
public CellPadding( 
   int all
)

Parameters

all
The padding value, in pixels, for all edges.
Example
This example sets the cell padding.
FarPoint.Win.Spread.CellPadding test = new FarPoint.Win.Spread.CellPadding(2);            
fpSpread1.Sheets[0].Cells[0, 0].CellPadding = test;
fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
Dim test As FarPoint.Win.Spread.CellPadding
test = New FarPoint.Win.Spread.CellPadding(2)
FpSpread1.Sheets(0).Cells(0, 0).CellPadding = test
FpSpread1.Sheets(0).Cells(0, 0).Text = "test"
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

CellPadding Class
CellPadding Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.