ワークシートからの列の削除
Contents
[
Hide
]
これは開発者向けの基本的なトピックであり、ワークシートから列を削除する最も簡単な方法について説明しています。シンプルに見えますが、開発者が Aspose.Cells.GridDesktop を操作しながらルーチン タスクで使用できる便利な機能です。
ワークシートからの列の削除
ワークシートから列を削除するには、次の手順に従ってください。
- 任意のアクセスワークシート
- 削除する桁からワークシート削除する列のインデックスを指定して
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 column of the worksheet | |
sheet.RemoveColumn(0); |