Spread for ASP.NET 10 Product Documentation
ClientAutoSize Property
Example 


Gets or sets whether to resize the spread automatically.
Syntax
'Declaration
 
Public Property ClientAutoSize As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.ClientAutoSize = value
 
value = instance.ClientAutoSize
public bool ClientAutoSize {get; set;}
Remarks
ClientAutoSize autosizes the rows based on the page size instead of the rowcount. Frozen columns and rows are ignored when scrolling if ClientAutoSize is true.
Example
This example sets the ClientAutoSize property.
FpSpread1.Sheets[0].ColumnCount = 6;
FpSpread1.Sheets[0].RowCount = 12;
FpSpread1.ClientAutoSize = true;
FpSpread1.Sheets[0].PageSize = 12;
FpSpread1.Sheets(0).ColumnCount = 6
FpSpread1.Sheets(0).RowCount = 12
FpSpread1.ClientAutoSize = true
FpSpread1.Sheets(0).PageSize = 12
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

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.