Excel.ArrowheadLength enum
注解
示例
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/44-shape/shape-lines.yaml
await Excel.run(async (context) => {
const shapes = context.workbook.worksheets.getItem("Shapes").shapes;
const line = shapes.getItem("StraightLine").line;
line.beginArrowheadLength = Excel.ArrowheadLength.long;
line.beginArrowheadWidth = Excel.ArrowheadWidth.wide;
line.beginArrowheadStyle = Excel.ArrowheadStyle.oval;
line.endArrowheadLength = Excel.ArrowheadLength.long;
line.endArrowheadWidth = Excel.ArrowheadWidth.wide;
line.endArrowheadStyle = Excel.ArrowheadStyle.triangle;
await context.sync();
});
字段
long = "Long" | |
medium = "Medium" | |
short = "Short" |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈