[BorderCollection.DiagonalColor property 获取或设置Color对角线. public Color DiagonalColor { get; set; } 也可以看看 class BorderCollection 命名空间 Aspose.Cells 部件 Aspose.Cells]