Spread ASP.NET 6.0 Product Documentation
ClientAutoSize Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : ClientAutoSize Property


Glossary Item Box

Gets or sets whether resize the spread automtic.

Syntax

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;}

Remarks

ClientAutoSize autosizes the rows based on the page size instead of the rowcount.

Example

This example sets the ClientAutoSize property.
 Copy Code
FpSpread1.Sheets[0].ColumnCount = 6;
FpSpread1.Sheets[0].RowCount = 12;
FpSpread1.ClientAutoSize = true;
FpSpread1.Sheets[0].PageSize = 12;
Visual BasicCopy Code
FpSpread1.Sheets(0).ColumnCount = 6
FpSpread1.Sheets(0).RowCount = 12
FpSpread1.ClientAutoSize = true
FpSpread1.Sheets(0).PageSize = 12

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.