RevisionInsertDelete.CellArea
RevisionInsertDelete.CellArea property
Gets the inserting/deleting range.
public CellArea CellArea { get; }
Examples
using System;
using Aspose.Cells;
using Aspose.Cells.Revisions;
namespace AsposeCellsExamples
{
public class RevisionInsertDeletePropertyCellAreaDemo
{
public static void Run()
{
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
worksheet.Cells.InsertRow(0);
workbook.Save("output.xlsx");
Workbook reopened = new Workbook("output.xlsx");
foreach (RevisionLog log in reopened.Worksheets.RevisionLogs)
{
foreach (Revision revision in log.Revisions)
{
if (revision.Type == RevisionType.InsertDelete)
{
RevisionInsertDelete rrc = (RevisionInsertDelete)revision;
Console.WriteLine("ActionType: {0}; CellArea: {1}", rrc.ActionType, rrc.CellArea);
}
}
}
}
}
}
See Also
- struct CellArea
- class RevisionInsertDelete
- namespace Aspose.Cells.Revisions
- assembly Aspose.Cells