Adjusts the height of a row range to fit the data in a cell range.
Syntax
'Declaration
Public Overloads Overridable Sub AutoSizeRows( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As AutoSizeFlags _
)
public virtual void AutoSizeRows(
int ,
int ,
int ,
int ,
int ,
AutoSizeFlags
)
Parameters
- topRow
- Top row in the range.
- leftCol
- Left column in the range.
- bottomRow
- Bottom row in the range.
- rightCol
- Right column in the range.
- extraSpace
- Amount of extra space, in pixels, to add to the row heights.
- flags
- Flags that control auto-sizing options.
See Also