GrapeCity MultiRow Windows Forms Documentation
PerformHorizontalAutoFit Method (Column)


Fits the column's size to its content in horizontal direction programmatically.
Syntax
Public Sub PerformHorizontalAutoFit() 
Dim instance As Column
 
instance.PerformHorizontalAutoFit()
public void PerformHorizontalAutoFit()
Exceptions
ExceptionDescription
System.InvalidOperationException

The cell's Width or Height in the column is zero.

-or-

This cell is beyond the bound of the parent Section.

Remarks
This method provides the capability to auto fit the cell programmatically.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Column Class
Column Members
PerformVerticalAutoFit Method

 

 


Copyright © GrapeCity, inc. All rights reserved.