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