Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / ClientAutoSizeMaxHeight Property
Example


In This Topic
    ClientAutoSizeMaxHeight Property
    In This Topic
    Gets or sets the maximum height of Spread when the ClientAutoSize property is True.
    Syntax
    'Declaration
     
    Public Property ClientAutoSizeMaxHeight As Integer
    'Usage
     
    Dim instance As FpSpread
    Dim value As Integer
     
    instance.ClientAutoSizeMaxHeight = value
     
    value = instance.ClientAutoSizeMaxHeight
    public int ClientAutoSizeMaxHeight {get; set;}
    Example
    This example uses the ClientAutoSizeMaxHeight 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
    See Also