FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > FillRange Method : FillRange(Int32,Int32,Int32,Int32,Int32,FillDirection,Boolean,Boolean) Method |
'Declaration Public Overloads Sub FillRange( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer, _ ByVal fillCount As Integer, _ ByVal fillDirection As FillDirection, _ ByVal dataOnly As Boolean, _ ByVal valuesOnly As Boolean _ )
'Usage Dim instance As SheetView Dim row As Integer Dim column As Integer Dim rowCount As Integer Dim columnCount As Integer Dim fillCount As Integer Dim fillDirection As FillDirection Dim dataOnly As Boolean Dim valuesOnly As Boolean instance.FillRange(row, column, rowCount, columnCount, fillCount, fillDirection, dataOnly, valuesOnly)
public void FillRange( int row, int column, int rowCount, int columnCount, int fillCount, FillDirection fillDirection, bool dataOnly, bool valuesOnly )
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Specified row index is not valid; must be between -1 and the total number of rows |
System.ArgumentOutOfRangeException | Specified column index is not valid; must be between -1 and the total number of columns |
System.ArgumentOutOfRangeException | Specified row count is not valid; must be -1 or between 0 and the total number of rows minus the current row index |
System.ArgumentOutOfRangeException | Specified column count is not valid; must be -1 or between 0 and the total number of columns minus the current column index |
System.ArgumentOutOfRangeException | Specified number of rows or columns (fill count) is not valid; must be -1 or between 0 and the total number of rows or columns |
System.ComponentModel.InvalidEnumArgumentException | Specified direction of the fill is not valid; must be one of the allowed enumeration settings |
System.InvalidOperationException | Specified target range contains one or more cell spans so the operation cannot be completed. |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8