-
Notifications
You must be signed in to change notification settings - Fork 63
/
excel.arrowheadstyle.yml
67 lines (57 loc) · 2.34 KB
/
excel.arrowheadstyle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
### YamlMime:TSEnum
name: Excel.ArrowheadStyle
uid: 'excel!Excel.ArrowheadStyle:enum'
package: excel!
fullName: Excel.ArrowheadStyle
summary: ''
remarks: >-
\[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]
#### Examples
```TypeScript
// 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();
});
```
isPreview: false
isDeprecated: false
fields:
- name: diamond
uid: 'excel!Excel.ArrowheadStyle.diamond:member'
package: excel!
summary: '* \[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
value: '"Diamond"'
- name: none
uid: 'excel!Excel.ArrowheadStyle.none:member'
package: excel!
summary: '* \[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
value: '"None"'
- name: open
uid: 'excel!Excel.ArrowheadStyle.open:member'
package: excel!
summary: '* \[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
value: '"Open"'
- name: oval
uid: 'excel!Excel.ArrowheadStyle.oval:member'
package: excel!
summary: '* \[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
value: '"Oval"'
- name: stealth
uid: 'excel!Excel.ArrowheadStyle.stealth:member'
package: excel!
summary: '* \[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
value: '"Stealth"'
- name: triangle
uid: 'excel!Excel.ArrowheadStyle.triangle:member'
package: excel!
summary: '* \[ [API set: ExcelApi 1.9](/javascript/api/requirement-sets/excel/excel-api-requirement-sets) \]'
value: '"Triangle"'