Visual Basic (Declaration) | |
---|---|
Public Property ClientAutoSize As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpSpread Dim value As Boolean instance.ClientAutoSize = value value = instance.ClientAutoSize |
C# | |
---|---|
public bool ClientAutoSize {get; set;} |
ClientAutoSize autosizes the rows based on the page size instead of the rowcount.
This example sets the ClientAutoSize property.
C# | Copy Code |
---|---|
FpSpread1.Sheets[0].ColumnCount = 6;
FpSpread1.Sheets[0].RowCount = 12;
FpSpread1.ClientAutoSize = true;
FpSpread1.Sheets[0].PageSize = 12; |
Visual Basic | Copy Code |
---|---|
FpSpread1.Sheets(0).ColumnCount = 6
FpSpread1.Sheets(0).RowCount = 12
FpSpread1.ClientAutoSize = true
FpSpread1.Sheets(0).PageSize = 12 |
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