await excelApp.ActiveWorkbook.SetWatermark({
Type: 1,
Value: '这是一段水印',
FillStyle: 'rgba(192, 0, 192, 0.4)',
Font: 'normal 28px Serif',
Rotate: (-30 * Math.PI) / 180,
Horizontal: 50,
Vertical: 50
});
FillStyle 参数不生效
await excelApp.ActiveWorkbook.SetWatermark({
Type: 1,
Value: '这是一段水印',
FillStyle: 'rgba(192, 0, 192, 0.4)',
Font: 'normal 28px Serif',
Rotate: (-30 * Math.PI) / 180,
Horizontal: 50,
Vertical: 50
});
FillStyle 参数不生效