Spread for ASP.NET 7.0 Product Documentation
ClientAutoSizeMaxWidth Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : ClientAutoSizeMaxWidth Property


Glossary Item Box

Gets or sets the maximum width of Spread when the ClientAutoSize property is True.

Syntax

Visual Basic (Declaration) 
Public Property ClientAutoSizeMaxWidth As Integer
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Integer
 
instance.ClientAutoSizeMaxWidth = value
 
value = instance.ClientAutoSizeMaxWidth
C# 
public int ClientAutoSizeMaxWidth {get; set;}

Example

This example sets the ClientAutoSizeMaxWidth property.
C#Copy Code
FpSpread1.Sheets[0].ColumnCount = 6;
FpSpread1.Sheets[0].RowCount = 12;
FpSpread1.ClientAutoSize = true;
FpSpread1.Sheets[0].PageSize = 12;
FpSpread1.ClientAutoSizeMaxHeight=300;
FpSpread1.ClientAutoSizeMaxWidth = 400;
Visual BasicCopy Code
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.