Excel.ShapeZOrder enum
指定要将形状移动到的相对于其他形状的 z-顺序位置。
注解
示例
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/44-shape/shape-move-and-order.yaml
await Excel.run(async (context) => {
const sheet = context.workbook.worksheets.getItem("Shapes");
const shape = sheet.shapes.getItem("Octagon")
shape.setZOrder(Excel.ShapeZOrder.sendBackward);
await context.sync();
});
字段
bringForward = "BringForward" | |
bringToFront = "BringToFront" | |
sendBackward = "SendBackward" | |
sendToBack = "SendToBack" |