Spread Windows Forms 6.0 Product Documentation
SetClip(Int32,Int32,Int32,Int32,String) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SetClip(Int32,Int32,Int32,Int32,String) Method


row
Starting row index of the range of cells (or -1 for all rows)
column
Starting column index of the range of cells (or -1 for all columns)
rowCount
Number of rows in the range of cells (or -1 for all rows)
columnCount
Number of columns in the range of cells (or -1 for all columns)
value
Tab-delimited string (formatted data) to set into the cells of the specified range

Glossary Item Box

Sets a tab-delimited string of formatted text in a specified range of cells on this sheet.

Syntax

Visual Basic (Declaration) 
Public Sub SetClip( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal value As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim value As String
 
instance.SetClip(row, column, rowCount, columnCount, value)
C# 
public void SetClip( 
   int row,
   int column,
   int rowCount,
   int columnCount,
   string value
)

Parameters

row
Starting row index of the range of cells (or -1 for all rows)
column
Starting column index of the range of cells (or -1 for all columns)
rowCount
Number of rows in the range of cells (or -1 for all rows)
columnCount
Number of columns in the range of cells (or -1 for all columns)
value
Tab-delimited string (formatted data) to set into the cells of the specified range

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException Specified row index is out of range; must be between 0 and the total number of rows
System.ArgumentOutOfRangeException Specified column index is out of range; must be between 0 and the total number of columns

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.