Spread Windows Forms 10.0 Product Documentation
ResetPadding Method (PreviewRowInfo)
Example 


Resets the Padding property to its default value.
Syntax
'Declaration
 
Public Sub ResetPadding() 
'Usage
 
Dim instance As PreviewRowInfo
 
instance.ResetPadding()
public void ResetPadding()
Example
This example uses the ResetPadding method.
FarPoint.Win.Spread.PreviewRowInfo pr = new FarPoint.Win.Spread.PreviewRowInfo();
pr.Padding = new FarPoint.Win.Spread.CellPadding(3);
pr.Visible = true;
fpSpread1.Sheets[0].PreviewRowInfo = pr;
//pr.ResetPadding();
Dim pr As New FarPoint.Win.Spread.PreviewRowInfo()
pr.Padding = New FarPoint.Win.Spread.CellPadding(3)
pr.Visible = True
FpSpread1.Sheets(0).PreviewRowInfo = pr
'pr.ResetPadding()
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

PreviewRowInfo Class
PreviewRowInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.