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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PreviewRowInfo Class : ResetPadding Method
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()
See Also

Reference

PreviewRowInfo Class
PreviewRowInfo Members