'Declaration
Public Overloads Overrides Sub AutoFit( _ Optional ByVal minimumHeight As Double, _ Optional ByVal maximumHeight As Double, _ Optional ByVal startColumnId As Integer, _ Optional ByVal endColumnId As Integer _ )
'Usage
Dim instance As RowRange Dim minimumHeight As Double Dim maximumHeight As Double Dim startColumnId As Integer Dim endColumnId As Integer instance.AutoFit(minimumHeight, maximumHeight, startColumnId, endColumnId)
public override void AutoFit( double minimumHeight, double maximumHeight, int startColumnId, int endColumnId )
Parameters
- minimumHeight
- The minimum desired Height when AutoFitting a Row from a RowRange. The default value is 0 point.
- maximumHeight
- The maximum desired Height when AutoFitting a Row from a RowRange. The default value is 409 points.
- startColumnId
- The Id of the Column used as the starting point of the Autofit's range. The default is 0, which is the first Column in a Row.
- endColumnId
- The Id of the Column used as the ending point of the Autofit's range. The default value is 16383, which is the last possible Column in a Row.