Excel.ArrowheadStyle enum
Hinweise
Beispiele
// 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();
});
Felder
diamond = "Diamond" | |
none = "None" | |
open = "Open" | |
oval = "Oval" | |
stealth = "Stealth" | |
triangle = "Triangle" |
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Office Add-ins