[UndoManager.UndoStackSize property 获取或设置撤消/重做堆栈大小。默认值为 300. public int UndoStackSize { get; set; } 也可以看看 class UndoManager 命名空间 Aspose.Cells.GridDesktop 部件 Aspose.Cells.GridDesktop]