PowerTools SPREAD for Windows Forms 8.0J
Remove メソッド (Columns)


開始列インデックス
削除する列数
列または列範囲を削除します。
構文
'Declaration
 
Public Sub Remove( _
   ByVal index As Integer, _
   ByVal count As Integer _
) 
'使用法
 
Dim instance As Columns
Dim index As Integer
Dim count As Integer
 
instance.Remove(index, count)
public void Remove( 
   int index,
   int count
)

パラメータ

index
開始列インデックス
count
削除する列数
次のサンプルコードは、デフォルトシートから最初の列以外のすべての列を削除します。
fpSpread1.ActiveSheet.Columns.Remove(1, 499);
FpSpread1.ActiveSheet.Columns.Remove(1, 499)
参照

Columns クラス
Columns メンバ
Remove メソッド (Column クラス)

 

 


© 2004-2015, GrapeCity inc. All rights reserved.