Spread for ASP.NET 9.0 Product Documentation
ClientAutoSizeMaxWidth Property
Example 


Gets or sets the maximum width of Spread when the ClientAutoSize property is True.
Syntax
'Declaration
 
Public Property ClientAutoSizeMaxWidth As Integer
'Usage
 
Dim instance As FpSpread
Dim value As Integer
 
instance.ClientAutoSizeMaxWidth = value
 
value = instance.ClientAutoSizeMaxWidth
public int ClientAutoSizeMaxWidth {get; set;}
Example
This example uses the ClientAutoSizeMaxWidth property.
FpSpread1.Sheets[0].ColumnCount = 6;
FpSpread1.Sheets[0].RowCount = 12;
FpSpread1.ClientAutoSize = true;
FpSpread1.Sheets[0].PageSize = 12;
FpSpread1.ClientAutoSizeMaxHeight=300;
FpSpread1.ClientAutoSizeMaxWidth = 400;
FpSpread1.Sheets(0).ColumnCount = 6
FpSpread1.Sheets(0).RowCount = 12
FpSpread1.ClientAutoSize = true
FpSpread1.Sheets(0).PageSize = 12
FpSpread1.ClientAutoSizeMaxHeight=300
FpSpread1.ClientAutoSizeMaxWidth = 400
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.