ワークシートからの行の削除

Contents
[ ]

ワークシートから行を削除するには、次の手順に従ってください。

  • 任意のアクセスワークシート
  • 削除するからワークシート削除する行のインデックスを指定して

以下のコード サンプルは、ワークシートから行を削除する方法を示しています。

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing first worksheet of the Grid
Worksheet sheet = gridDesktop1.Worksheets[0];
// Removing the first row of the worksheet
sheet.RemoveRow(0);